argo is a CLI tool for project management.
Install argo globally via npm:
npm install -g argo-cli
To run argo, the team name for Bitbucket must be configured as an environment variable:
$ export BITBUCKET_TEAM_NAME=<your-bitbucket-team-name>
Initialize a new argo project, either from scratch or within an existing project/repository.
argo init
When initializing a new project from scratch, the argo project and associated repository will be created in a new directory, relative to the current directory, based on the user's selections in the CLI prompt.
When initializing a new project from an existing project/repository, the argo project will be created within the existing project folder.
COMING SOON
argo update
Rules are composed of three parts.
The trigger
The condition(s)
The action(s)
The trigger dictates when to check the rule.
The condition(s) are what determines whether a given rule should be invoked when it is triggered. A condition consists of a condition type and a condition value.
The action(s) are essentially what a matched rule will be called upon to do. An action consists of an action type and an action value.
Example:
A rule consisting of
- Trigger: push
- Condition: branch type, vanguard value
- Action: http type, http://api.example.com/do_something value
would, when the project was pushed with changes to the "vanguard" branch, send an HTTP request to http://api.example.com/do_something.
Add a new rule to an existing argo project, following prompts from the CLI.
argo rule add
IN PROGRESS
npm test
If ./bin/argo works but argo does not, run npm link from the project root.
Copyright (c) 2016 Cuttlesoft