Skip to content

Commit

Permalink
Merge remaining bits of args.rs into main.rs
Browse files Browse the repository at this point in the history
This change removes the args module by moving all remaining
functionality in it into main.rs. The result is arguably a nice
consolidation of all context related definitions in a single module.
  • Loading branch information
d-e-s-o committed Apr 11, 2020
1 parent 93c6054 commit fafbf4a
Show file tree
Hide file tree
Showing 6 changed files with 134 additions and 172 deletions.
2 changes: 1 addition & 1 deletion src/arg_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ macro_rules! Command {
impl $name {
pub fn execute(
self,
ctx: &mut crate::args::ExecCtx<'_>,
ctx: &mut crate::ExecCtx<'_>,
) -> crate::Result<()> {
match self {
$(
Expand Down
99 changes: 0 additions & 99 deletions src/args.rs

This file was deleted.

Loading

0 comments on commit fafbf4a

Please sign in to comment.