INNER CODE UNIT · TypeScript

DevCommand

hypermodeinc/modus · cli/src/commands/dev/index.ts:30

export default class DevCommand extends BaseCommand {
  static args = {
    path: Args.directory({
      description: "Path to app directory",
      default: ".",
      exists: true,
    }),
  };

  static flags = {
    runtime: Flags.string({
      char: "r",
      description: "Modus runtime version to use. If not provided, the latest runtime compatible with the app will be used.",
    }),
    prerelease: Flags.boolean({
      char: "p",
      aliases: ["pre"],
      description: "Use a prerelease version of the Modus runtime. Not needed if specifying a runtime version.",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…