Skip to content

ArcletProject/ArcletTS

Repository files navigation

Arclet-Typescript

  • nepattern
  • alconna

python source code

Package Version
Alconna python
NEpattern python

example

import { Command, Args, Option} from "@arcletjs/alconna";

let cmd = new Command("npm", ["/"])
.option("list")
.subcommand("install", Args.push("pakName", String), [Option("-S|--save")])

let result = cmd.parse("/npm install tsc --save")
console.log(result.query("install"))
// Output as follows:
// value=null args={"pakName":["tsc"]} options={"save":{"value":Ellipsis,"args":{}}} subcommands={}

Releases

No releases published

Packages

No packages published