Skip to content

Commit 187e9ee

Browse files
committed
refactor: remove unused code
1 parent 56cac19 commit 187e9ee

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

src/cli.rs

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -25,38 +25,6 @@ pub struct Args {
2525
pub(crate) skip_unstable: bool,
2626
}
2727

28-
impl Args {
29-
/// specify the lerna tag
30-
pub fn lerna(&mut self) -> &mut Args {
31-
self.lerna = true;
32-
self
33-
}
34-
35-
/// set tag prefix filters
36-
pub fn tag_prefix<P: AsRef<str>>(&mut self, dir: P) -> &mut Args {
37-
self.tag_prefix = Some(dir.as_ref().to_string());
38-
self
39-
}
40-
41-
/// set the package name filter
42-
pub fn package_name<P: AsRef<str>>(&mut self, dir: P) -> &mut Args {
43-
self.package = Some(dir.as_ref().to_string());
44-
self
45-
}
46-
47-
/// set the current path where the command is run
48-
pub fn current_dir<P: AsRef<str>>(&mut self, dir: P) -> &mut Args {
49-
self.cwd = Some(dir.as_ref().to_string());
50-
self
51-
}
52-
53-
/// ignore unstable labels
54-
pub fn skip_unstable(&mut self) -> &mut Args {
55-
self.skip_unstable = true;
56-
self
57-
}
58-
}
59-
6028
#[cfg(test)]
6129
mod tests {
6230
use super::*;

0 commit comments

Comments
 (0)