UNPKG

obsidian-plugin-config

Version:

Global CLI injection tool for Obsidian plugins

51 lines (37 loc) • 2.06 kB
#!/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 `);