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 item* to step*. #192

Merged
merged 9 commits into from
Jun 2, 2024
Merged
4 changes: 2 additions & 2 deletions crate/cmd/src/scopes/multi_profile_no_flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use serde::{de::DeserializeOwned, Serialize};

use crate::ctx::CmdCtxTypes;

/// A command that works with multiple profiles, without any items.
/// A command that works with multiple profiles, not scoped to a flow.
///
/// ```bash
/// path/to/repo/.peace/envman
Expand Down Expand Up @@ -94,7 +94,7 @@ where
>,
}

/// A command that works with multiple profiles, without any items.
/// A command that works with multiple profiles, not scoped to a flow.
///
/// ```bash
/// path/to/repo/.peace/envman
Expand Down
4 changes: 2 additions & 2 deletions crate/cmd/src/scopes/single_profile_no_flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use serde::{de::DeserializeOwned, Serialize};

use crate::ctx::CmdCtxTypes;

/// A command that works with a single profile, without any items.
/// A command that works with a single profile, not scoped to a flow.
///
/// ```bash
/// path/to/repo/.peace/envman
Expand Down Expand Up @@ -84,7 +84,7 @@ where
>,
}

/// A command that works with a single profile, without any items.
/// A command that works with a single profile, not scoped to a flow.
///
/// ```bash
/// path/to/repo/.peace/envman
Expand Down
3 changes: 2 additions & 1 deletion crate/rt_model_core/src/error/web_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ pub enum WebError {
},
/// Failed to remove an item from browser storage.
///
/// This failure mode happens when the `get_item` call to the browser fails.
/// This failure mode happens when the `remove_item` call to the browser
/// fails.
///
/// Note: The original `JsValue` error is converted to a `String` to allow
/// this type to be `Send`.
Expand Down
2 changes: 1 addition & 1 deletion doc/src/technical_concepts/item.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Cleans up the item from existence.

Readers may notice the function breakdown is `git`-like. The following table compares the concepts:

| Subject | Peace | Git |
| Concept | Peace | Git |
|:-----------------------|:-------------------------------------------------------|:-----------------------------------------------------------------------------------------|
| Item | Any consumer defined item. | A directory of files. |
| Project initialization | `init` command takes in parameters to manage the item. | Uses the current directory or passed in directory. |
Expand Down
Loading