# alfa-cli
This package provides a command line tool for [ALFA](https://widgetbrain.com/product/).
## Installation
You can directly install alfa-cli using [pip](http://www.pip-installer.org/en/latest/). This will install the alfa-cli package as well as all dependencies.
```sh
$ pip install -U alfa-cli
```
If you already have alfa-cli installed and want to upgrade to the latest version, you can run:
```sh
$ pip install --upgrade alfa-cli
```
## Usage
Once alfa-cli is installed, you can run it with the following template.
```sh
$ alfa [options] <command> <subcommand> [parameters]
```
For more information regarding the usage, you can refer to the provided help information.
```sh
$ alfa --help
$ alfa <command> --help
$ alfa <command> <subcommand> --help
```
## Command Completion
The alfa-cli package includes a command completion feature, but is not automatically installed.
To enable tab completion you can follow the instructions below:
For `bash`, run the following command, or append it to `~/.bashrc`
```sh
$ . alfa-complete.sh
```
For `zsh`, run the following command, or append it to `~/.zshrc`
```sh
$ . alfa-complete.zsh
```
## Development
To install requirements locally:
**1.** Activate local venv
```sh
$ virtualenv venv
$ source venv/bin/activate
```
**2.** Install requirements from setup.py
```sh
$ pip install -e .[dev]
```
To develop alfa-cli alongside alfa-sdk, you can opt to install a local copy of the alfa-sdk instead.
```sh
$ pip install -e /path/to/alfa-sdk-py
```
### Running it locally
You can run the cli directly as a python module.
```sh
$ python alfa_cli [options] <command> <subcommand> [parameters]
```
Alternatively, you can install your local copy of alfa-cli in develop mode, and use it normally.
```sh
$ python setup.py develop
$ alfa [options] <command> <subcommand> [parameters]
```
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
最新资源
- 基于JAVA+SpringBoot+Vue+MySQL的宠物健康顾问系统 源码+数据库+论文(高分毕业设计).zip
- 基于JAVA+SpringBoot+Vue+MySQL的宠物猫认养系统 源码+数据库+论文(高分毕业设计).zip
- 基于python实现的爱心代码,分享给有需要的人
- 基于JAVA+SpringBoot+Vue+MySQL的城乡居民基本医疗信息管理系统 源码+数据库+论文(高分毕业设计).zip
- MongoDB的Linux安装
- java应用后台管理系统源码 JAVA系统通用权限管理系统源码数据库 SQL2008源码类型 WebForm
- 基于JAVA+SpringBoot+Vue+MySQL的大数据的心脏病患者数据分析 源码+数据库(高分毕业设计).zip
- 搜索引擎介绍文档.doc
- 基于JAVA+SpringBoot+Vue+MySQL的大学生在线租房平台 源码+数据库+论文(高分毕业设计).zip
- 内网渗透相关总结.zip
- 基于JAVA+SpringBoot+Vue+MySQL的大学生就业服务平台 源码+数据库+论文(高分毕业设计).zip
- 文件搜索利器 Everything v1.5.0
- 基于JAVA+SpringBoot+Vue+MySQL的房屋租赁管理系统 源码+数据库+论文(高分毕业设计).zip
- 内网渗透知识点总结.zip
- 基于JAVA+SpringBoot+Vue+MySQL的仿淘宝系统 源码+数据库+论文(高分毕业设计).zip
- 锂离子电池生产参数调控及生产温度预测挑战赛数据集
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈