forked from kent/consciousness
kill cmd_graph, cmd_organize
This commit is contained in:
parent
11f2d5b169
commit
1f6bfb5915
3 changed files with 2 additions and 139 deletions
|
|
@ -1,6 +1,7 @@
|
|||
// cli/admin.rs — admin subcommand handlers
|
||||
|
||||
use crate::store;
|
||||
|
||||
fn install_default_file(data_dir: &std::path::Path, name: &str, content: &str) -> Result<(), String> {
|
||||
let path = data_dir.join(name);
|
||||
if !path.exists() {
|
||||
|
|
@ -11,7 +12,6 @@ fn install_default_file(data_dir: &std::path::Path, name: &str, content: &str) -
|
|||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
pub fn cmd_init() -> Result<(), String> {
|
||||
let cfg = crate::config::get();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue