Skip to content

Autocompletion does not work for dyno size in run #1029

@stof

Description

@stof

Looking at the code, it looks like the --size flag of run is expected to have completion for available sizes. But this does not work. And looking at the generated files, it seems like it is not generated properly. Here is the output of cat ~/.cache/heroku/autocomplete/commands_setters |grep -A 11 'set_run_flags'

_set_run_flags () {
_flags=(
"--size=-[dyno size]"
"--type=-[process type]"
"--exit-code[(switch) passthrough the exit code of the remote command]"
"--env=-[environment variables to set (use ';' to split multiple vars)]"
"--no-tty[(switch) force the command to not run in a tty]"
"--no-notify[(switch) disables notification when dyno is up (alternatively use HEROKU_NOTIFICATIONS=0)]"
"--app=-[(autocomplete) app to run command against]: :_compadd_flag_options"
"--remote=-[(autocomplete) git remote of app to use]: :_compadd_flag_options"
)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions