mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
fix: Bigcapital CLIs.
This commit is contained in:
@@ -16,7 +16,7 @@ commander
|
||||
.command('license:generate <license_period>')
|
||||
.description('Generates a new license key.')
|
||||
.action(async (interval) => {
|
||||
try {
|
||||
try {
|
||||
const sysDb = initSystemKnex();
|
||||
let repeat = true;
|
||||
|
||||
@@ -52,6 +52,4 @@ commander
|
||||
log(`ID: ${license.id} | Key: ${license.key} | Interval: ${license.licenseInterval} | Period: ${license.licensePeriod}`);
|
||||
});
|
||||
exit();
|
||||
});
|
||||
|
||||
commander.parse(process.argv);
|
||||
});
|
||||
Reference in New Issue
Block a user