Skip to content
This repository was archived by the owner on Sep 16, 2020. It is now read-only.
This repository was archived by the owner on Sep 16, 2020. It is now read-only.

--tower-password is only working with commands #337

Open

Description

@abraverm

The following doesn't work:

$ tower --tower-password $(pass tower.example.com) --help
Error: no such option: --tower-password
$ tower job --tower-password $(pass tower.example.com) --help

But the following does:

$ tower job list --tower-password $(pass tower.example.com) --help
Usage: tower-cli job list [OPTIONS]

  Return a list of jobs.

  If one or more filters are provided through options, filter the results
  accordingly.

  If no filters are provided, return all results.

Field Options:
.... 

Activity

  1. AlanCoding commented on Aug 21, 2017

    @AlanCoding
    Member

    The non-command invocations shouldn't reach out to the tower server (with the possible exception of the version command), so there's no way we would use these. Is this a problem with automation, such that you just want it to ignore the values given for these options?

  2. abraverm commented on Aug 22, 2017

    @abraverm
    Author

    I believe the password option should be global (shared with all actions) and all global options are ignored when not needed.

  3. added
    blocked
    click
    on Jun 13, 2018
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

    blockedclickenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions