Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tfexec: add InitJSON #478

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Commits on Oct 6, 2024

  1. tfexec: split init code out to support InitJSON

    refactors `tfexec/init.go` by splitting the init functions into distinct functions to facilitate the support of the new InitJSON function.
    
    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    820816d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0bd7077 View commit details
    Browse the repository at this point in the history
  3. tfexec: add InitJSON and initJSONCmd

    The `InitJSON` and `initJSONCmd` functions append the `-json` argument to instruct the init command to write machine-readable JSON to the supplied `io.Writer`.
    
    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    90f2360 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6af74c5 View commit details
    Browse the repository at this point in the history
  5. e2etest: add InitJSON tests

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    d7e2db6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6761406 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    160e8e8 View commit details
    Browse the repository at this point in the history
  8. tfexec: add initJSONCmd tests

    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    1589e33 View commit details
    Browse the repository at this point in the history
  9. tfexec: move optional positional argument to init cmd; as flags prece…

    …de positional arguments.
    
    Since the optional positional directory argument must follow all flags, as flags precede positional arguments, we append it to the args list only after all flags have been added.
    
    Signed-off-by: Bruno Schaatsbergen <git@bschaatsbergen.com>
    bschaatsbergen committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    1b71d09 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    073ec1e View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Configuration menu
    Copy the full SHA
    3c17379 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. Configuration menu
    Copy the full SHA
    74d8c31 View commit details
    Browse the repository at this point in the history