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

feat: Combine CLI id/tree cmds, add find cmd #122

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

alilleybrinker
Copy link
Member

This commit combines the id and tree subcommands, and also adds a
new find subcommand. So there are two commands:

  • id: If given a file, ID it. If given a directory, recursively ID
    all files within it.
  • find: Given a gitoid URL and a root directory, search under the
    root dir to find a file that matches the gitoid.

This commit also cleans up the code a bit.

Signed-off-by: Andrew Lilley Brinker alilleybrinker@gmail.com

This commit combines the `id` and `tree` subcommands, and also adds a
new `find` subcommand. So there are two commands:

- `id`: If given a file, ID it. If given a directory, recursively ID
  all files within it.
- `find`: Given a `gitoid` URL and a root directory, search under the
  root dir to find a file that matches the `gitoid`.

This commit also cleans up the code a bit.

Signed-off-by: Andrew Lilley Brinker <alilleybrinker@gmail.com>
@alilleybrinker alilleybrinker merged commit 6c34956 into main Feb 22, 2024
3 checks passed
@alilleybrinker alilleybrinker deleted the alilleybrinker/cli-find branch February 22, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant