Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@artus-cli/artus-cli

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artus-cli/artus-cli

CLI framework with modern features

  • 0.2.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
decreased by-14.43%
Maintainers
2
Weekly downloads
 
Created
Source

@artus-cli/artus-cli

artus-cli

NPM version NPM quality NPM download Continuous Integration Test coverage Oss Insight Analytics

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

https://artus-cli.github.io

Keywords

FAQs

Package last updated on 08 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc