Command line interface for SDLCPilot, a Software Development Life Cycle management tool. Currently support GitHub node projects.
- If either
npm -vornode -vare not found, see 'Installnodeandnpm'. - Install 'sdlcpilot-cli' and 'comply-server'. (These package names will be updated shortly.)
npm i -g sdlcpilot-cli comply-server
- Run:
sdlc --setup
- Open a new terminal window to pickup the SDLCPilot tab completion support, or type 'source .bashrc' or 'source .zshrc' on from your bash or zsh terminal respectively.
- Install the base SDLC plugins:
sdlc server plugins bundles add -- bundles=sdlcpilot-github-node
check where your global NPM packages are installed with:
npm ls -gThe first line should tell you where the NPM lib direcotry is located. Verify that if you swap that out lib for bin, you can ls the sdlc executable. It might be something like: /opt/homebrew/bin or /Users/foo/.npm-global/bin. Now update your PATH to include the global NPM bin directory.
We recommend using Node Version Manager (nvm) to install node and npm; nvm installation instructions can be found here. nvm provides support for installing 'global' packages on a per-user account basis without the need for root priveleges. It also provides a convenient tool for using and testing different versions of node.
To use the latest "long term support" version (LTS), use:
nvm install --lts
nvm use --ltsOr to use the latest stable version, use:
nvm install node
nvm use node- Create a project:
This will both create a (initially private) repo and check it out in your playground base, which is
sdlc projects create -- newProjectName=liquid-labs/indepndent-context${HOME}/playground. (This is not currently configurable.) -- or -- You cangit clonea project under~/playground. The standard expected layout is~/playground/<git org>/<repo name>. (In future,sdlcwill support importing projects directly.) - Change dir to the new project:
cd independent-context - Open an "Initial implementation" issue and start the work. After this, you should be on the workbranch.
- Create the issue in GitHub if you want to be verbose. Then start the work:
sdlc work start -- issues=1 - Directly from the command line:
sdlc work start -- issueTitle='Initial implementation' issueOverview='Implement basic functions' issueDeliverables="do X;;do Y"
- Create the issue in GitHub if you want to be verbose. Then start the work:
- Create a minimal project (TODO: I think this may be automated somewhere...):
mkdkir src echo -e "console.log('Hello world!')\n" > src/index.mjs - Setup development cycle stuff (if creating a Javascript based project):
sdlc projects workflows local node-build add- Update the
package.jsonscripts:"scripts": { "build": "make build", "test": "make test", "preversion": "make qa", "lint": "make lint", "lint:fix": "make lint-fix", "qa": "make qa" }
- Do some work and save it:
sdlc work save -- summary="initial implementation" - Create PR:
sdlc work submit - Review and merge PR on GitHub.
- Close the work and return to main:
sdlc work close
Refer to the user documentation