An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 2.8% dependent packages on proxy.golang.org
Top 3.5% dependent repos on proxy.golang.org

proxy.golang.org : github.com/js-arias/command

Package command implements a command line interface for applications that host multiple children commands similar to go and git. The common pattern of that applications is: APPNAME COMMAND --FLAG(s) ARGUMENT(s) Each interaction with the application is implemented as a command. A command usually runs an action, or alternatively it can provide multiple children commands, or a help topic. Flags can be given to modify the command's action and arguments usually are the objects in which the actions are executed. No constructor is required to create a new command. Just initialize the usage and documentation fields. To define the command's action implement the Run function. To define the flags used by the command implement SetFlag function and use method Flags to retrieve the current flag set of the command. To add children commands use the Add method. To run a command with a given set of arguments, use the method Execute.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/js-arias/command
License: BSD-2-Clause
Latest release: about 3 years ago
First release: about 3 years ago
Namespace: github.com/js-arias
Dependent packages: 4
Dependent repositories: 2
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 months ago

    Loading...
    Readme
    Loading...