Skip to content

The workspace template uses an nf -r flag that does not exist #297

Closed

Description

@Exeloo

Which package is this bug report for?

@nanoforge-dev/schematics

Which command is this bug report for?

new

Issue description

The workspace template's scripts and README use a -r flag: nf dev -r, nf build -r, nf start -r (package.json.template#L5-L7, README.md#L24-L34, same in files/js). The README says "-r runs the command across every app in the workspace".

nf has no -r option: nf dev only knows -d, -c and -e (dev.command.ts#L18-L20). So a workspace made by nf new can't run its own pnpm dev, build or start. Plain nf dev / nf build / nf start at the workspace root already run every app (the client+server examples of NanoForge-dev/examples#18 build both apps that way).

Code sample

nf new  # workspace, then:
pnpm dev   # nf dev -r → unknown option '-r'

Versions

  • @nanoforge-dev/cli 3.0.1
  • Linux

Issue priority

Medium (should be fixed soon)

I have tested this issue on a development release

1a5eec5

Activity

  1. added
    bug
    on Nov 13, 2026
  2. added
    command:new
    lib:schematics
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcommand:newlib:schematics

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions