trifectatechfoundation / trifectatechfoundation/sudo-rs
CLI Overview
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.5k
- Forks
- 179
- Avg merge
- 16h 45m
- Merged PRs (30d)
- 4
Description
Since we decided we don't need to be a perfect, in-place replacement for sudo, we should consider removing some of the CLI options that we added. I'm opening this issue to keep track of this discussion.
Already implemented
-
-- -
-h, --help -
-u user, --user=user -
-g group, --group=group -
-V, --version -
-D directory, --chdir=directory -
-i, --login(CC #225) -
-s, --shell -
-S, --stdin(PR #224 ) -
-n, --non-interactive -
-k, --reset-timestamp -
-K, --remove-timestamp -
-v, --validate(always asking for password) (CC #395) -
-p prompt, --prompt=prompt -
-v, --validate(optionally asking for password) (CC #439) -
-l, --list(CC #658) -
-U user, --other-user=user(together with-l) -
env variable declarations (CC #917, #932)
-
--preserve-env=list -
-B, --bell(CC #1028) -
-e, --edit(CC #762) -
-b, --background(CC #1395)
Doubtful
-P, --preserve-groups-C num, --close-from=num-T timeout, --command-timeout=timeout-H, --set-home
Highly doubtful
-E, --preserve-env-h host, --host=host
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the CLI option handling for the doubtful and highly doubtful options listed in the issue, beginning with --preserve-groups, --close-from, --command-timeout, --set-home, --preserve-env, and --host. The issue is currently a discussion tracker, so a maintainer decision is needed before a newcomer can identify the options to remove and the tests or behavior that define done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100