N
Nemo
← Back to Home
Configuration

Command Flags

Customize command behavior with flags. All commands support model selection and scope constraints.

Model Selection

Override automatic model selection with the --model flag.

ModelBest ForSpeed / Cost
haikuQuick tasks, simple explanationsFastestCheapest
sonnetStandard development tasksBalancedDefault
opusComplex architectural tasksMost capable

Examples

Use Opus for complex refactoring
@Nemo ship api refactor the auth system --model opus
Use Haiku for quick explanations
@Nemo explain what does this function do --model haiku

Automatic Model Routing

When no model is specified, Nemo scores task complexity and routes to the appropriate model:

Increases complexity:

  • ship command
  • Keywords: refactor, migrate, architecture
  • Long prompts

Decreases complexity:

  • explain command
  • Keywords: typo, simple, fix
  • Thread context available

Scope Constraints

Limit which files can be modified using --only and --exclude flags.

--only <pattern>

Only allow modifications to files matching the pattern.

@Nemo ship my-app add validation --only "src/components/*"
@Nemo ship api update endpoints --only "src/routes/**/*.ts"

--exclude <pattern>

Prevent modifications to files matching the pattern.

@Nemo ship my-app fix bugs --exclude "*.test.ts"
@Nemo ship api refactor --exclude "package.json,*.lock"

Combining Both

Use both flags together for precise control:

@Nemo ship my-app update styles --only "src/*" --exclude "src/test/*"

Pattern Syntax

*Matches any characters in a single path segment
**Matches any characters including path separators
*.ts,*.tsxComma-separated patterns
"src/**"Quote patterns with special chars

Repository Selection

Multiple ways to target a specific repository:

Direct format

@Nemo ship my-repo add feature
@Nemo explain other-org/their-repo how auth works

"in" keyword

@Nemo in my-repo explain how auth works
@Nemo in pdf-api ship add caching

PR link

@Nemo fix https://github.com/org/repo/pull/42 address comments
@Nemo rebase https://github.com/org/repo/pull/42

Shorthand

@Nemo fix my-repo #42 fix typo
@Nemo review api 15