这是indexloc提供的服务,不要输入任何密码
Skip to content

Nushell does not support multiple rest params for external command "proto exec" #885

@ee-shin

Description

@ee-shin

What version?

0.53.1

Which command?

proto completions --shell nu

What happened?

The generated completions provided by proto is not valid Nushell code as the external command definition "proto exec", provided more than one rest params which is not valid.

Trace logs?

[TRACE 2025-10-03 11:32:13.220] starbase_console::console  Creating buffered console
[DEBUG 11:32:13.222] proto  Running proto v0.53.1  exe="/Users/siew24/.proto/bin/proto" args=["completions", "--shell", "nu", "--log", "trace"] pid=3649
[TRACE 11:32:13.222] starbase::app  Running startup phase
[DEBUG 11:32:13.223] proto_core::env  Creating proto environment, detecting store  store="/Users/siew24/.proto" home="/Users/siew24"
[TRACE 11:32:13.223] starbase::app  Running analyze phase
[DEBUG 11:32:13.223] proto::systems  Loading configuration in upwards-global mode  working_dir="/Users/siew24"
[DEBUG 11:32:13.223] proto_core::config  Loading .prototools  file="/Users/siew24/.proto/.prototools"
[TRACE 11:32:13.223] starbase_utils::fs  Opening file  file="/Users/siew24/.proto/.prototools"
[TRACE 11:32:13.223] starbase_utils::fs_lock  Locking file  file="/Users/siew24/.proto/.prototools"
[TRACE 11:32:13.223] starbase_utils::fs_lock  Unlocking file  file="/Users/siew24/.proto/.prototools"
[TRACE 11:32:13.223] schematic::config::loader  Loading partial configuration  config="ProtoConfig"
[TRACE 11:32:13.223] schematic::config::loader  Creating layer from source  config="ProtoConfig" source="<code>"
[TRACE 11:32:13.224] schematic::config::loader  Merging partial layers into a final result  config="ProtoConfig"
[DEBUG 11:32:13.224] proto_core::file_manager  Merging loaded configs with global
[DEBUG 11:32:13.224] proto_core::file_manager  Merged 1 configs
[TRACE 11:32:13.224] starbase::app  Running execute phase
module completions {

  def "nu-complete proto config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto theme" [] {
    [ "dark" "light" ]
  }

  # A multi-language version manager, a unified toolchain.
  export extern proto [
    --config-mode(-c): string@"nu-complete proto config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto activate config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto activate log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto activate theme" [] {
    [ "dark" "light" ]
  }

  # Activate proto for the current shell session by prepending tool directories to PATH and setting environment variables.
  export extern "proto activate" [
    shell?: string            # Shell to activate for
    --export                  # Print the activate instructions in shell specific-syntax
    --no-bin                  # Don't include ~/.proto/bin in path lookup
    --no-init                 # Do not run activate hook on initialization
    --no-shim                 # Don't include ~/.proto/shims in path lookup
    --on-init                 # Run activate hook on initialization and export
    --config-mode(-c): string@"nu-complete proto activate config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto activate log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto activate theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help (see more with '--help')
    --version(-V)             # Print version
  ]

  def "nu-complete proto alias to" [] {
    [ "global" "local" "user" ]
  }

  def "nu-complete proto alias config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto alias log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto alias theme" [] {
    [ "dark" "light" ]
  }

  # Add an alias to a tool.
  export extern "proto alias" [
    context: string           # Tool to alias
    alias: string             # Alias name
    spec: string              # Version specification to alias
    --to: string@"nu-complete proto alias to" # Location of .prototools to add to
    --config-mode(-c): string@"nu-complete proto alias config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto alias log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto alias theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help (see more with '--help')
    --version(-V)             # Print version
  ]

  def "nu-complete proto bin dir" [] {
    [ "exes" "globals" ]
  }

  def "nu-complete proto bin config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto bin log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto bin theme" [] {
    [ "dark" "light" ]
  }

  # Display the absolute path to a tool's executable(s).
  export extern "proto bin" [
    context: string           # Tool to inspect
    --all                     # List all paths instead of just one
    --dir: string@"nu-complete proto bin dir" # Display the chosen directory path if available
    --bin                     # Display symlinked binary path when available
    spec?: string             # Version specification to locate
    --shim                    # Display shim path when available
    --config-mode(-c): string@"nu-complete proto bin config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto bin log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto bin theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help (see more with '--help')
    --version(-V)             # Print version
  ]

  def "nu-complete proto clean target" [] {
    [ "all" "cache" "plugins" "temp" "tools" ]
  }

  def "nu-complete proto clean config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto clean log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto clean theme" [] {
    [ "dark" "light" ]
  }

  # Clean the ~/.proto directory by removing stale tools, plugins, and files.
  export extern "proto clean" [
    target?: string@"nu-complete proto clean target" # Specific target to clean
    --days: string            # Clean tools and plugins older than the specified number of days
    --config-mode(-c): string@"nu-complete proto clean config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto clean log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto clean theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto completions config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto completions log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto completions theme" [] {
    [ "dark" "light" ]
  }

  # Generate command completions for your current shell.
  export extern "proto completions" [
    --shell: string           # Shell to generate for
    --config-mode(-c): string@"nu-complete proto completions config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto completions log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto completions theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto debug config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto debug log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto debug theme" [] {
    [ "dark" "light" ]
  }

  # Debug the current proto environment.
  export extern "proto debug" [
    --config-mode(-c): string@"nu-complete proto debug config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto debug log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto debug theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto debug config config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto debug config log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto debug config theme" [] {
    [ "dark" "light" ]
  }

  # Debug all loaded .prototools config's for the current directory.
  export extern "proto debug config" [
    --raw                     # Dump raw configuration objects
    --config-mode(-c): string@"nu-complete proto debug config config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto debug config log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto debug config theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto debug env config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto debug env log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto debug env theme" [] {
    [ "dark" "light" ]
  }

  # Debug the current proto environment and store.
  export extern "proto debug env" [
    --raw                     # Dump raw environment objects
    --config-mode(-c): string@"nu-complete proto debug env config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto debug env log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto debug env theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto diagnose config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto diagnose log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto diagnose theme" [] {
    [ "dark" "light" ]
  }

  # Diagnose potential issues with your proto installation.
  export extern "proto diagnose" [
    --shell: string           # Shell to diagnose for
    --config-mode(-c): string@"nu-complete proto diagnose config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto diagnose log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto diagnose theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto exec config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto exec log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto exec theme" [] {
    [ "dark" "light" ]
  }

  # Initialize a list of tools into the environment and execute an arbitrary command.
  export extern "proto exec" [
    ...tools: string          # Tools to initialize
    --tools-from-config       # Inherit tools to initialize from .prototools configs
    --raw                     # Execute the command as-is without quoting or escaping
    --shell: string           # Shell to execute the command with
    ...command: string        # The command to execute after initializing tools
    --config-mode(-c): string@"nu-complete proto exec config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto exec log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto exec theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto install pin" [] {
    [ "global" "local" "user" ]
  }

  def "nu-complete proto install config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto install log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto install theme" [] {
    [ "dark" "light" ]
  }

  # Download and install one or many tools.
  export extern "proto install" [
    context?: string          # Single tool to install
    spec?: string             # When installing one tool, the version specification to install
    --build                   # Build from source instead of downloading a pre-built
    --no-build                # Download a pre-built instead of building from source
    --force                   # Force reinstallation even if already installed
    --pin: string@"nu-complete proto install pin" # Pin the resolved version to .prototools
    ...passthrough: string    # When installing one tool, additional arguments to pass to the tool
    --quiet                   # Hide install progress output excluding errors
    --update-lockfile         # Don't inherit a version from the lockfile and update the record
    --internal
    --config-mode(-c): string@"nu-complete proto install config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto install log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto install theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help (see more with '--help')
    --version(-V)             # Print version
  ]

  def "nu-complete proto migrate config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto migrate log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto migrate theme" [] {
    [ "dark" "light" ]
  }

  # Migrate breaking changes for the proto installation.
  export extern "proto migrate" [
    operation: string         # Operation to migrate
    --config-mode(-c): string@"nu-complete proto migrate config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto migrate log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto migrate theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto outdated config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto outdated log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto outdated theme" [] {
    [ "dark" "light" ]
  }

  # Check if configured tool versions are out of date.
  export extern "proto outdated" [
    --latest                  # When updating versions, use the latest version instead of newest
    --update                  # Update and write the versions to their respective configuration
    --config-mode(-c): string@"nu-complete proto outdated config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto outdated log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto outdated theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto pin to" [] {
    [ "global" "local" "user" ]
  }

  def "nu-complete proto pin config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto pin log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto pin theme" [] {
    [ "dark" "light" ]
  }

  # Pin a global or local version of a tool.
  export extern "proto pin" [
    context: string           # Tool to pin
    spec: string              # Version specification to pin
    --resolve                 # Resolve the version before pinning
    --to: string@"nu-complete proto pin to" # Location of .prototools to pin to
    --config-mode(-c): string@"nu-complete proto pin config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto pin log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto pin theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help (see more with '--help')
    --version(-V)             # Print version
  ]

  def "nu-complete proto plugin config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto plugin log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto plugin theme" [] {
    [ "dark" "light" ]
  }

  # Operations for managing tool plugins.
  export extern "proto plugin" [
    --config-mode(-c): string@"nu-complete proto plugin config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto plugin log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto plugin theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto plugin add to" [] {
    [ "global" "local" "user" ]
  }

  def "nu-complete proto plugin add config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto plugin add log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto plugin add theme" [] {
    [ "dark" "light" ]
  }

  # Add a plugin to manage a tool.
  export extern "proto plugin add" [
    id: string                # ID of plugin
    plugin: string            # Locator string to find and load the plugin
    --to: string@"nu-complete proto plugin add to" # Location of .prototools to add to
    --type: string            # The type of plugin to add
    --config-mode(-c): string@"nu-complete proto plugin add config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto plugin add log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto plugin add theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help (see more with '--help')
    --version(-V)             # Print version
  ]

  def "nu-complete proto plugin info config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto plugin info log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto plugin info theme" [] {
    [ "dark" "light" ]
  }

  # Display information about an installed plugin and its inventory.
  export extern "proto plugin info" [
    id: string                # ID of plugin
    --config-mode(-c): string@"nu-complete proto plugin info config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto plugin info log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto plugin info theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto plugin list config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto plugin list log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto plugin list theme" [] {
    [ "dark" "light" ]
  }

  # List all configured and built-in plugins, and optionally include inventory.
  export extern "proto plugin list" [
    ...ids: string            # ID of plugins to list
    --aliases                 # Include resolved aliases in the output
    --versions                # Include installed versions in the output
    --config-mode(-c): string@"nu-complete proto plugin list config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto plugin list log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto plugin list theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto plugin remove from" [] {
    [ "global" "local" "user" ]
  }

  def "nu-complete proto plugin remove config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto plugin remove log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto plugin remove theme" [] {
    [ "dark" "light" ]
  }

  # Remove a plugin and unmanage a tool.
  export extern "proto plugin remove" [
    id: string                # ID of plugin
    --from: string@"nu-complete proto plugin remove from" # Location of .prototools to remove from
    --type: string            # The type of plugin to remove
    --config-mode(-c): string@"nu-complete proto plugin remove config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto plugin remove log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto plugin remove theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help (see more with '--help')
    --version(-V)             # Print version
  ]

  def "nu-complete proto plugin search config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto plugin search log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto plugin search theme" [] {
    [ "dark" "light" ]
  }

  # Search for available plugins provided by the community.
  export extern "proto plugin search" [
    query: string             # Query to search available plugins
    --config-mode(-c): string@"nu-complete proto plugin search config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto plugin search log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto plugin search theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto regen config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto regen log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto regen theme" [] {
    [ "dark" "light" ]
  }

  # Regenerate shims and optionally relink bins.
  export extern "proto regen" [
    --bin                     # Also recreate binary symlinks
    --config-mode(-c): string@"nu-complete proto regen config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto regen log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto regen theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto run config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto run log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto run theme" [] {
    [ "dark" "light" ]
  }

  # Run a tool after detecting a version from the environment.
  export extern "proto run" [
    context: string           # Tool to run
    spec?: string             # Version specification to run
    --exe: string             # File name of an alternate (secondary) executable to run
    ...passthrough: string    # Arguments to pass through to the underlying command
    --config-mode(-c): string@"nu-complete proto run config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto run log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto run theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help (see more with '--help')
    --version(-V)             # Print version
  ]

  def "nu-complete proto setup config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto setup log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto setup theme" [] {
    [ "dark" "light" ]
  }

  # Setup proto for your current shell by injecting exports and updating PATH.
  export extern "proto setup" [
    --shell: string           # Shell to setup for
    --no-modify-profile       # Don't update a shell profile
    --no-modify-path          # Don't update the system path
    --config-mode(-c): string@"nu-complete proto setup config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto setup log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto setup theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto status config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto status log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto status theme" [] {
    [ "dark" "light" ]
  }

  # List all configured tools and their current installation status.
  export extern "proto status" [
    --config-mode(-c): string@"nu-complete proto status config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto status log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto status theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto unalias from" [] {
    [ "global" "local" "user" ]
  }

  def "nu-complete proto unalias config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto unalias log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto unalias theme" [] {
    [ "dark" "light" ]
  }

  # Remove an alias from a tool.
  export extern "proto unalias" [
    context: string           # Tool to unalias
    alias: string             # Alias name
    --from: string@"nu-complete proto unalias from" # Location of .prototools to remove from
    --config-mode(-c): string@"nu-complete proto unalias config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto unalias log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto unalias theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto uninstall config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto uninstall log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto uninstall theme" [] {
    [ "dark" "light" ]
  }

  # Uninstall a tool.
  export extern "proto uninstall" [
    context: string           # Tool to uninstall
    spec?: string             # Version specification to uninstall
    --config-mode(-c): string@"nu-complete proto uninstall config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto uninstall log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto uninstall theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help (see more with '--help')
    --version(-V)             # Print version
  ]

  def "nu-complete proto unpin from" [] {
    [ "global" "local" "user" ]
  }

  def "nu-complete proto unpin config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto unpin log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto unpin theme" [] {
    [ "dark" "light" ]
  }

  # Unpin a global or local version of a tool.
  export extern "proto unpin" [
    context: string           # ID of tool
    --from: string@"nu-complete proto unpin from" # Location of .prototools to unpin from
    --config-mode(-c): string@"nu-complete proto unpin config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto unpin log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto unpin theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto upgrade config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto upgrade log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto upgrade theme" [] {
    [ "dark" "light" ]
  }

  # Upgrade proto to the latest version.
  export extern "proto upgrade" [
    target?: string           # Explicit version to upgrade or downgrade to
    --check                   # Check versions only and avoid upgrading
    --config-mode(-c): string@"nu-complete proto upgrade config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto upgrade log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto upgrade theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help
    --version(-V)             # Print version
  ]

  def "nu-complete proto versions config_mode" [] {
    [ "global" "local" "upwards" "upwards-global" ]
  }

  def "nu-complete proto versions log" [] {
    [ "off" "error" "warn" "info" "debug" "trace" "verbose" ]
  }

  def "nu-complete proto versions theme" [] {
    [ "dark" "light" ]
  }

  # List available versions for a tool.
  export extern "proto versions" [
    context: string           # Tool to list for
    --aliases                 # Include aliases in the output
    --installed               # Only display installed versions
    --config-mode(-c): string@"nu-complete proto versions config_mode" # Mode in which to load configuration
    --dump                    # Dump a trace profile to the working directory
    --log: string@"nu-complete proto versions log" # Lowest log level to output
    --log-file: path          # Path to a file to write logs to
    --json                    # Print as JSON (when applicable)
    --theme: string@"nu-complete proto versions theme" # Terminal theme to print with
    --yes(-y)                 # Avoid all interactive prompts and use defaults
    --help(-h)                # Print help (see more with '--help')
    --version(-V)             # Print version
  ]

}

export use completions *
[TRACE 11:32:13.226] starbase::app  Running shutdown phase

Operating system?

MacOS

Architecture?

arm64

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions