obsidian-plugin-config
Version:
Global CLI injection tool for Obsidian plugins
51 lines (37 loc) ⢠2.06 kB
text/typescript
#!/usr/bin/env tsx
console.log(`
šÆ Obsidian Plugin Commands
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š MAIN COMMANDS
DEVELOPMENT:
yarn start # Install dependencies + start dev
yarn dev # Build dev mode with hot reload
yarn build # Build production
yarn real # Build + install in real vault
yarn lint, lint:fix # ESLint check/fix
VERSION & RELEASE:
yarn v, update-version # Update version (package.json + manifest.json)
yarn release, r # Create GitHub release with tag
GIT OPERATIONS:
yarn acp # Add, commit, push (with Git sync)
yarn bacp # Build + add, commit, push
yarn run help, h # This help
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
š TYPICAL WORKFLOW
1. yarn start # Initial setup
2. yarn dev # Daily development
3. yarn build # Test production build
4. yarn v # Update version
5. yarn release # Publish GitHub release
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
āļø CONFIGURATION
ENVIRONMENT:
- Edit .env to set TEST_VAULT and REAL_VAULT
- Standalone scripts (no external dependencies)
- Automatic Git sync verification before push
STANDALONE PLUGIN:
ā
Independent local scripts
ā
Built-in TypeScript and ESLint configuration
ā
GitHub Actions workflows with Yarn
ā
No dependency on obsidian-plugin-config
`);