We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5d73d3 commit b696dbaCopy full SHA for b696dba
bin/icp-cli/src/commands.rs
@@ -19,7 +19,7 @@ pub enum Subcmd {
19
20
pub async fn dispatch(cli: Cli) -> Result<(), DispatchError> {
21
match cli.subcommand {
22
- Subcmd::Build(opts) => build::dispatch(opts).await?,
+ Subcmd::Build(opts) => build::exec(opts).await?,
23
Subcmd::Network(opts) => network::dispatch(opts).await?,
24
}
25
Ok(())
bin/icp-cli/src/commands/build.rs
@@ -7,7 +7,7 @@ use snafu::Snafu;
7
#[derive(Parser, Debug)]
8
pub struct Cmd;
9
10
-pub async fn dispatch(_cmd: Cmd) -> Result<(), BuildCommandError> {
+pub async fn exec(_cmd: Cmd) -> Result<(), BuildCommandError> {
11
// Project
12
let pd = ProjectDirectory::find()?.ok_or(BuildCommandError::ProjectNotFound)?;
13
0 commit comments