Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
23 changes: 0 additions & 23 deletions crates/goose-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use crate::commands::configure::handle_configure;
use crate::commands::info::handle_info;
use crate::commands::plugin::{handle_plugin_install, handle_plugin_update};
use crate::commands::project::{handle_project_default, handle_projects_interactive};
use crate::commands::recipe::{handle_deeplink, handle_list, handle_open, handle_validate};
use crate::commands::term::{
handle_term_info, handle_term_init, handle_term_log, handle_term_run, Shell,
Expand All @@ -38,7 +37,7 @@
use goose::session::SessionManager;
use std::io::Read;
use std::path::PathBuf;
use tracing::warn;

Check failure on line 40 in crates/goose-cli/src/cli.rs

View workflow job for this annotation

GitHub Actions / Lint Rust Code

unused import: `tracing::warn`

Check failure on line 40 in crates/goose-cli/src/cli.rs

View workflow job for this annotation

GitHub Actions / Build and Test TLS Backend (native-tls)

unused import: `tracing::warn`

Check failure on line 40 in crates/goose-cli/src/cli.rs

View workflow job for this annotation

GitHub Actions / Build and Test TLS Backend (rustls-tls)

unused import: `tracing::warn`

Check failure on line 40 in crates/goose-cli/src/cli.rs

View workflow job for this annotation

GitHub Actions / Build and Test Rust Project

unused import: `tracing::warn`

Check failure on line 40 in crates/goose-cli/src/cli.rs

View workflow job for this annotation

GitHub Actions / Check MSRV

unused import: `tracing::warn`

Check failure on line 40 in crates/goose-cli/src/cli.rs

View workflow job for this annotation

GitHub Actions / Build Binary

unused import: `tracing::warn`

const GOOSE_SERVER_SECRET_KEY_ENV: &str = "GOOSE_SERVER__SECRET_KEY";

Expand Down Expand Up @@ -946,14 +945,6 @@
extension_opts: ExtensionOptions,
},

/// Open the last project directory
#[command(about = "Open the last project directory", visible_alias = "p")]
Project {},

/// List recent project directories
#[command(about = "List recent project directories", visible_alias = "ps")]
Projects,

/// Execute commands from an instruction file
#[command(about = "Execute commands from an instruction file or stdin")]
Run {
Expand Down Expand Up @@ -1349,8 +1340,6 @@
Some(Command::Acp { .. }) => "acp",
Some(Command::Serve { .. }) => "serve",
Some(Command::Session { .. }) => "session",
Some(Command::Project {}) => "project",
Some(Command::Projects) => "projects",
Some(Command::Run { .. }) => "run",
Some(Command::Gateway { .. }) => "gateway",
Some(Command::Schedule { .. }) => "schedule",
Expand Down Expand Up @@ -2218,10 +2207,6 @@

let cli = Cli::parse();

if let Err(e) = crate::project_tracker::update_project_tracker(None, None) {
warn!("Warning: Failed to update project tracker: {}", e);
}

let command_name = get_command_name(&cli.command);
tracing::info!(
monotonic_counter.goose.cli_commands = 1,
Expand Down Expand Up @@ -2293,14 +2278,6 @@
)
.await
}
Some(Command::Project {}) => {
handle_project_default()?;
Ok(())
}
Some(Command::Projects) => {
handle_projects_interactive()?;
Ok(())
}
Some(Command::Run {
input_opts,
identifier,
Expand Down
1 change: 0 additions & 1 deletion crates/goose-cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ pub mod doctor;
pub mod gateway;
pub mod info;
pub mod plugin;
pub mod project;
pub mod recipe;
pub mod review;
pub mod schedule;
Expand Down
310 changes: 0 additions & 310 deletions crates/goose-cli/src/commands/project.rs

This file was deleted.

1 change: 0 additions & 1 deletion crates/goose-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ compile_error!("Features `rustls-tls` and `native-tls` are mutually exclusive");
pub mod cli;
pub mod commands;
pub mod logging;
pub mod project_tracker;
pub mod recipes;
pub mod scenario_tests;
pub mod session;
Expand Down
Loading
Loading