1.0.1 • Published 14 days ago
@artus-cli/artus-cli v1.0.1
@artus-cli/artus-cli
artus-cli
aims to provide a modern command-line-apps framework.
- Powerful, powered by artusjs.
- Modern, TypeScript and IoC ready.
- Customizable, command inheritance, and support Plugin and Framework (wrap it as a upper layer CLI).
- Community, enjoy the eco-friendliness, use the same plugin with your artusjs web apps.
How it looks
import { DefineCommand, Option, Command } from '@artus-cli/artus-cli';
@DefineCommand({
command: 'dev',
description: 'Run the development server',
alias: [ 'd' ],
})
export class DevCommand extends Command {
@Option({
alias: 'p',
default: 3000,
description: 'server port',
})
port: number;
async run() {
console.info('port: %s', this.port);
}
}
Run it with:
$ my-cli dev --port 8080
Document
1.0.1
14 days ago
1.0.0
3 months ago
0.2.10
1 year ago
0.2.9
1 year ago
0.2.8-beta
1 year ago
0.2.7
1 year ago
0.2.6
1 year ago
0.2.8
1 year ago
0.2.3
1 year ago
0.2.2
1 year ago
0.2.5
1 year ago
0.2.4
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago
0.0.7
1 year ago
0.0.6
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.2-beta.3
1 year ago
0.0.2-beta.2
1 year ago
0.0.2-beta.1
1 year ago
0.0.2-beta.0
1 year ago
0.0.1
1 year ago