Add update command
CI / test (push) Successful in 35s

This commit is contained in:
2026-06-09 15:54:35 +09:00
parent 5110df995f
commit 921216e0d3
6 changed files with 162 additions and 1 deletions
+4
View File
@@ -29,6 +29,9 @@ enum Commands {
/// 애플리케이션 버젼 표시
Version,
/// 설치된 openstock 바이너리 업데이트
Update,
/// 증권사 API 리스트 조회 및 API 설정
Api {
#[command(subcommand)]
@@ -80,6 +83,7 @@ fn main() {
match &cli.command {
Some(Commands::Version) => commands::handle_version(),
Some(Commands::Update) => commands::handle_update(),
Some(Commands::Api { sub }) => commands::handle_api(sub),
Some(Commands::Dart { sub }) => commands::handle_dart(sub),
Some(Commands::Account { sub }) => commands::handle_account(sub),