atlassian-node-cli-script
Node.js CLI automation script for the creation of Atlassian Suite 'snippets.'
Instructions
Requirements
- Node
- NPM
- Highly limited functionality without Atlassian Suite BitBucket Account w/ Local SSH Access Configured Atlassian Suite Docs:SSH Key Setup Kb
Steps
- Clone this repo.
git clone https://github.com/iTrauco/atlassian-node-cli-script
- Change into the directory
cd atlassian-node-cli-script
- Once inside the directory, install it globally w/ npm*
npm install -g
Note, you will need to install the script in the 'index.js' file globally to run the 'snippet' command from your CLI. Global installation will install in your systems PATH.
Note It is highly recommended to set the symlink of your system to the index.js
in this repo by running npm link
in your terminal after global installation is complete.
- Test that the installation was successful with the following...
snippet --help
- If you have valid Atlassian Suite credentials configured locally w/ SSH use the following 'snippet' command followed by the 'name_of_my_file' as the argument; e.g...
snippet test.txt
Preview
The official Atlassian Suite Developer Docs for 'Snippets.'
PR/Branch History
This is a CLI-based script; gif 'snapshots' of the expected command line behavior has been left for personal referenc but may be useful to others and can be viewed on the 'Summary/Overview' pages of each 'pushed' branch.
-
Click on 'Branches'
-
Locate the name of the branch you wish to preview
-
Click on the 'merge' number to the right
Any notes or visual info will be displayed here relevant to that branch.