Argc Versions Save

A Bash CLI framework, also a Bash-based command runner.

v1.17.0

3 weeks ago

What's Changed

Full Changelog: https://github.com/sigoden/argc/compare/v1.16.0...v1.17.0

v1.16.0

1 month ago

What's Changed

Full Changelog: https://github.com/sigoden/argc/compare/v1.15.0...v1.16.0

v1.15.0

2 months ago

New Features

--argc-build

Build a single standalone bash script without argc dependency.

argc --argc-build <SCRIPT> [OUTPATH]

--argc-shell-path

Print current shell path

argc --argc-shell-path 

@env

Define a environment

# @env EA                 optional
# @env EB!                required
# @env EC=true            default
# @env EDA[dev|prod]      choices
# @env EDB[=dev|prod]     choices + default

default subcommand

use @meta default-subcommand to set the current subcommand as the default.

hooks

Argc supports two hooks:

_argc_before: call before running the command function (after initialized variables) _argc_after: call after running the command function

dotenv

Load a .env file from a custom path, if persent.

# @meta dotenv
# @meta dotenv ~/.env

What's Changed

New Contributors

Full Changelog: https://github.com/sigoden/argc/compare/v1.14.0...v1.15.0

v1.14.0

5 months ago

What's Changed

Full Changelog: https://github.com/sigoden/argc/compare/v1.13.0...v1.14.0

v1.13.0

5 months ago

What's Changed

Full Changelog: https://github.com/sigoden/argc/compare/v1.12.1...v1.13.0

v1.12.1

5 months ago

What's Changed

Full Changelog: https://github.com/sigoden/argc/compare/v1.12.0...v1.12.1

v1.12.0

5 months ago

What's Changed

Full Changelog: https://github.com/sigoden/argc/compare/v1.11.0...v1.12.0

v1.11.0

6 months ago

What's Changed

Full Changelog: https://github.com/sigoden/argc/compare/v1.10.0...v1.11.0

v1.10.0

7 months ago

What's Changed

Full Changelog: https://github.com/sigoden/argc/compare/v1.9.0...v1.10.0

v1.9.0

8 months ago

What's Changed

Full Changelog: https://github.com/sigoden/argc/compare/v1.8.0...v1.9.0