mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-31 16:33:10 +00:00
cli: make commands sub modules private
We've removed most of the deprecated commands.
This commit is contained in:
parent
bcfa2b174b
commit
556ef26608
5 changed files with 31 additions and 31 deletions
|
@ -12,18 +12,18 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
pub mod copy_detection;
|
||||
pub mod fileset;
|
||||
pub mod index;
|
||||
pub mod local_working_copy;
|
||||
pub mod operation;
|
||||
pub mod reindex;
|
||||
pub mod revset;
|
||||
pub mod snapshot;
|
||||
pub mod template;
|
||||
pub mod tree;
|
||||
pub mod watchman;
|
||||
pub mod working_copy;
|
||||
mod copy_detection;
|
||||
mod fileset;
|
||||
mod index;
|
||||
mod local_working_copy;
|
||||
mod operation;
|
||||
mod reindex;
|
||||
mod revset;
|
||||
mod snapshot;
|
||||
mod template;
|
||||
mod tree;
|
||||
mod watchman;
|
||||
mod working_copy;
|
||||
|
||||
use std::any::Any;
|
||||
use std::fmt::Debug;
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
pub mod annotate;
|
||||
pub mod chmod;
|
||||
pub mod list;
|
||||
pub mod show;
|
||||
pub mod track;
|
||||
mod annotate;
|
||||
mod chmod;
|
||||
mod list;
|
||||
mod show;
|
||||
mod track;
|
||||
pub mod untrack;
|
||||
|
||||
use crate::cli_util::CommandHelper;
|
||||
|
|
|
@ -112,7 +112,7 @@ pub fn cmd_git_init(
|
|||
Ok(())
|
||||
}
|
||||
|
||||
pub fn do_init(
|
||||
fn do_init(
|
||||
ui: &mut Ui,
|
||||
command: &CommandHelper,
|
||||
workspace_root: &Path,
|
||||
|
|
|
@ -12,14 +12,14 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
pub mod clone;
|
||||
pub mod export;
|
||||
pub mod fetch;
|
||||
pub mod import;
|
||||
pub mod init;
|
||||
pub mod push;
|
||||
pub mod remote;
|
||||
pub mod submodule;
|
||||
mod clone;
|
||||
mod export;
|
||||
mod fetch;
|
||||
mod import;
|
||||
mod init;
|
||||
mod push;
|
||||
mod remote;
|
||||
mod submodule;
|
||||
|
||||
use std::path::Path;
|
||||
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
pub mod add;
|
||||
pub mod list;
|
||||
pub mod remove;
|
||||
pub mod rename;
|
||||
pub mod set_url;
|
||||
mod add;
|
||||
mod list;
|
||||
mod remove;
|
||||
mod rename;
|
||||
mod set_url;
|
||||
|
||||
use clap::Subcommand;
|
||||
|
||||
|
|
Loading…
Reference in a new issue