@puls-atlas/cli
Version:
The Puls Atlas CLI tool for managing Atlas projects
4 lines • 654 B
JavaScript
import init from './index.js';
import hooks from '../../hooks/index.js';
const registerInitCommand = program => program.command('init').description('Initialize or partially bootstrap an Atlas project.').action(init).option('--secrets', 'Create the required Google Secret Manager secrets.').option('--local-env', 'Create the default app/.env.local file.').option('--database', 'Create the required Firestore and Realtime Database instances.').option('--artifact-bucket', 'Create the shared Atlas artifact bucket.').option('--task-queue', 'Create the required Cloud Tasks queues.').hook('preAction', hooks.versionCheck);
export default registerInitCommand;