Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename fdev strings from 'Locutus' to 'Freenet' #871

Merged
merged 3 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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