@ahmadforhat/shortcut-cli
v1.0.0
Published
Simple CLI for Shortcut story management
Readme
Shortcut CLI
Simple CLI tool for managing Shortcut stories.
Installation
npm install
npm run build
npm install -g .Usage
Login
Save your Shortcut API key:
shortcut-cli loginGet Story
Fetch a specific story by ID:
shortcut-cli get-story 12345Create Story
Create a new story:
shortcut-cli create-story --title "Story title"
shortcut-cli create-story --title "Fix bug" --type bug
shortcut-cli create-story --title "New feature" --description "Add dark mode" --type featureOptions:
--title- Story title (required)--description- Story description--type- Story type (feature, bug, chore)--state- Workflow state name
Help
shortcut-cli --helpVersion
shortcut-cli --versionDevelopment
npm run dev # Watch mode
npm run build # Build onceConfiguration
API key is stored in ~/.shortcut-cli/config.json
Publishing
npm run build
npm publish