Skip to content

Commit

Permalink
Rename fdev strings from 'Locutus' to 'Freenet' (#871)
Browse files Browse the repository at this point in the history
* Rename fdev clap name from
'Locutus' to 'Freenet'

* Finish renaming all fdev strings from "Locutus" to "Freenet"

* Bump up fdev version to 0.0.6
  • Loading branch information
KristijanZic authored and iduartgomez committed Nov 6, 2023
1 parent 5a31945 commit d2b2c1f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions crates/fdev/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ use freenet::dev_tool::OperationMode;
use semver::Version;

#[derive(clap::Parser, Clone)]
#[clap(name = "Locutus Development Tool")]
#[clap(name = "Freenet Development Tool")]
#[clap(author = "The Freenet Project Inc.")]
#[clap(version = "0.0.3")]
#[clap(version = "0.0.6")]
pub struct Config {
#[clap(subcommand)]
pub sub_command: SubCommand,
Expand All @@ -18,13 +18,13 @@ pub struct Config {

#[derive(clap::Parser, Clone)]
pub struct BaseConfig {
/// Overrides the default data directory where Locutus contract files are stored.
/// Overrides the default data directory where Freenet contract files are stored.
#[arg(long)]
pub(crate) contract_data_dir: Option<PathBuf>,
/// Overrides the default data directory where Locutus delegate files are stored.
/// Overrides the default data directory where Freenet delegate files are stored.
#[arg(long)]
pub(crate) delegate_data_dir: Option<PathBuf>,
/// Overrides the default data directory where Locutus secret files are stored.
/// Overrides the default data directory where Freenet secret files are stored.
#[arg(long)]
pub(crate) secret_data_dir: Option<PathBuf>,
/// Node operation mode.
Expand Down Expand Up @@ -154,7 +154,7 @@ fn parse_version(src: &str) -> Result<Version, String> {
Version::parse(src).map_err(|e| e.to_string())
}

/// Create a new Locutus contract and/or app.
/// Create a new Freenet contract and/or app.
#[derive(clap::Parser, Clone)]
pub struct NewPackageCliConfig {
#[arg(id = "type", value_enum)]
Expand Down
2 changes: 1 addition & 1 deletion crates/fdev/src/inspect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ enum FileType {
Contract,
}

/// Inspect the packaged WASM code for Locutus.
/// Inspect the packaged WASM code for Freenet.
#[derive(clap::Parser, Clone)]
struct CodeInspection {}

Expand Down
4 changes: 2 additions & 2 deletions crates/fdev/src/local_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ pub enum DeserializationFmt {
MessagePack,
}

/// A CLI utility for testing out contracts against a Locutus local node.
/// A CLI utility for testing out contracts against a Freenet local node.
#[derive(clap::Parser, Clone)]
#[clap(name = "Locutus Local Development Node Environment")]
#[clap(name = "Freenet Local Development Node Environment")]
#[clap(author = "The Freenet Project Inc.")]
#[clap(group(
ArgGroup::new("output")
Expand Down
2 changes: 1 addition & 1 deletion crates/fdev/src/local_node/user_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use crate::{util, CommandSender, DynError};

use super::{state::AppState, DeserializationFmt, LocalNodeCliConfig};

const HELP: &str = "Locutus Contract Development Environment
const HELP: &str = "Freenet Contract Development Environment
SUBCOMMANDS:
help Print this message
Expand Down

0 comments on commit d2b2c1f

Please sign in to comment.