From 7879ac01b24eb9723ec0a814adaee1fc9c52610a Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 18 Jun 2026 04:40:25 +0800 Subject: feat(rola-cli): implement bucket creation and CLI entry point Add bucket creation logic with pre-checks, localized error handling, and a basic CLI entry point using the mingling framework. Introduce a placeholder protocol for bucket transfer testing. --- rola-cli/src/res/current_dir.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rola-cli/src/res/current_dir.rs (limited to 'rola-cli/src/res') diff --git a/rola-cli/src/res/current_dir.rs b/rola-cli/src/res/current_dir.rs new file mode 100644 index 0000000..b774705 --- /dev/null +++ b/rola-cli/src/res/current_dir.rs @@ -0,0 +1,11 @@ +use std::path::PathBuf; + +/// Represents the current working directory. +/// +/// This struct encapsulates the path of the current working directory, +/// providing a clear abstraction for directory context throughout the application. +#[derive(Debug, Default, Clone)] +pub struct ResCurrentDir { + /// The current working directory path. + pub cwd: PathBuf, +} -- cgit