Skip to content

Feature Request: parse list of inputs from a file #329

@Warchant

Description

@Warchant

I have a use-case to run scc on a list of files. This can be done by providing all files in CLI args.
On Windows there's a limit of 2**15 chars for a single CLI command, which limits the number of input files that can be used.

I see 2 solutions:

  1. Implement "scc @flags.txt" flag parsing syntax, where flags.txt is a text file which has 1 flag per line. Related issue in cobra: Does cobra support "@file.txt" flag syntax? spf13/cobra#1649
  2. Add a flag --from-file inputs.txt which will read list of input files/folders from inputs.txt.

Any feedback? I'd implement one of these features.

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