@movable/sc-scripts
v1.0.0
Published
Simple CLI for Shortcut project management
Downloads
11
Readme
sc-scripts
Simple CLI for Shortcut project management.
Installation
Using npm
npm install -g @movable/sc-scriptsUsing Yarn
yarn global add @movable/sc-scriptsUsing Volta
volta install @movable/sc-scriptsFrom source
git clone https://github.com/movableink/sc-scripts.git
cd sc-scripts
yarn install
yarn linkSetup
Before using the CLI, you need to authenticate with your Shortcut API token:
sc authYou'll be prompted to enter your Shortcut API token. You can find your API token at: https://app.shortcut.com/settings/account/api-tokens
The token is stored securely in ~/.config/sc/auth with read-only permissions for your user.
Usage
List teams/groups
Show all teams with their IDs and associated workflows:
sc teams
# or
sc groupsList projects
Show all projects with their IDs:
sc projectsList workflows
Show all workflows with their IDs:
sc workflowsSearch stories
Search for stories by keyword:
sc stories "search term"For LLM Users
Add the following to your project's CLAUDE.md file to help Claude understand how to use Shortcut in your workflow:
## Shortcut Integration
This project uses the `sc` CLI tool for Shortcut integration. Available commands:
- `sc stories "keyword"` - Search for stories related to a keyword
- `sc teams` - List all teams with their workflow IDs
- `sc projects` - List all projects
- `sc workflows` - List all workflows
For anything else, use the Shortcut MCP server if available.Development
Prerequisites
- Node.js >= 20
- Yarn
Setup
yarn installRun locally
./sc.js [command]
# or
node sc.js [command]Install locally for development
yarn linkLicense
MIT
