Skip to content

feat(cli): add CLI --dry-run flag #7

Description

@ekkolon

Description:

Objective:
Implement a --dry-run flag in the CLI to allow users to simulate the licensing process without making actual changes to files.

Features:

  • Introduce a --dry-run flag for the CLI.
  • When the --dry-run flag is used, the CLI should output the intended changes without applying them.
  • Ensure that the dry run accurately reflects the actions that would be taken during a regular run.

Motivation:

  • Users may want to preview the changes the CLI will make before applying them.
  • Enhances user confidence in the licensing process.

Tasks:

  • CLI Modification:

    • Add support for the --dry-run flag in the CLI parsing logic.
  • Simulation Output:

    • Implement the logic to simulate the licensing process without actually modifying files.
    • Output the intended changes to the console.
  • Documentation:

    • Update the CLI documentation to include information about the new --dry-run flag.
    • Provide examples and usage instructions.
  • Testing:

    • Create test cases to ensure that the --dry-run flag functions as expected.
    • Include tests for various scenarios, including different licensing configurations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions