https://github.com/jchip/xclap-cli
CLI invoker for the xclap Javascript task executor and build tool.
https://github.com/jchip/xclap-cli
Last synced: about 1 year ago
JSON representation
CLI invoker for the xclap Javascript task executor and build tool.
- Host: GitHub
- URL: https://github.com/jchip/xclap-cli
- Owner: jchip
- Created: 2017-06-10T22:51:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-01-24T23:43:23.000Z (over 5 years ago)
- Last Synced: 2025-03-24T01:09:04.134Z (over 1 year ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![NPM version][npm-image]][npm-url]
[![Dependency Status][daviddm-image]][daviddm-url] [![devDependency Status][daviddm-dev-image]][daviddm-dev-url]
# xclap CLI
CLI invoker for the [xclap] Javascript task executor and build tool.
# Install
```bash
npm install -g xclap-cli
```
# Usage
```bash
$ clap [options] [task_options] [task_options]
```
ie:
```bash
$ clap build
```
# Auto Completion
Auto completion is available for [bash] and [zsh].
To setup, add the following line to your `~/.bashrc` or `~/.zshrc` accordingly:
```bash
# Bash, ~/.bashrc
eval "$(clap --completion=bash)"
```
```zsh
# Zsh, ~/.zshrc
eval "$(clap --completion=zsh)"
```
[xclap]: https://github.com/jchip/xclap
[npm-image]: https://badge.fury.io/js/xclap-cli.svg
[npm-url]: https://npmjs.org/package/xclap-cli
[daviddm-image]: https://david-dm.org/jchip/xclap-cli/status.svg
[daviddm-url]: https://david-dm.org/jchip/xclap-cli
[daviddm-dev-image]: https://david-dm.org/jchip/xclap-cli/dev-status.svg
[daviddm-dev-url]: https://david-dm.org/jchip/xclap-cli?type=dev
[bash]: https://www.gnu.org/software/bash/
[zsh]: http://www.zsh.org/