File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,12 @@ Choose your preferred installation method from the [Installation Guide](/getting
3030flux9s
3131```
3232
33+ Or use a specific kubeconfig file:
34+
35+ ``` bash
36+ flux9s --kubeconfig /path/to/kubeconfig
37+ ```
38+
3339By default, ` flux9s ` watches the ` flux-system ` namespace. Use ` :ns all ` to view all namespaces or ` :ns <namespace> ` to switch to a specific namespace.
3440
3541{{% alert title="Note" color="info" %}}
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ Perform actions on selected resources:
5656Configure flux9s from the command line:
5757
5858``` bash
59+ # Use a specific kubeconfig file
60+ flux9s --kubeconfig /path/to/kubeconfig
61+
5962# Show all config options
6063flux9s config --help
6164
Original file line number Diff line number Diff line change 1- //! CLI command handlers
1+ //! Configuration command handlers
22
33use anyhow:: { Context , Result } ;
44use clap:: Subcommand ;
@@ -7,15 +7,6 @@ use std::path::PathBuf;
77use crate :: config:: schema:: Config ;
88use crate :: config:: { paths, ConfigLoader , ThemeLoader } ;
99
10- /// Display version information
11- pub fn display_version ( ) {
12- println ! ( "flux9s {}" , env!( "CARGO_PKG_VERSION" ) ) ;
13- println ! ( " {}" , env!( "CARGO_PKG_DESCRIPTION" ) ) ;
14- println ! ( " {}" , env!( "CARGO_PKG_AUTHORS" ) ) ;
15- println ! ( " License: {}" , env!( "CARGO_PKG_LICENSE" ) ) ;
16- println ! ( " Repository: {}" , env!( "CARGO_PKG_REPOSITORY" ) ) ;
17- }
18-
1910/// Skins management subcommands
2011#[ derive( Subcommand , Debug ) ]
2112pub enum SkinsSubcommand {
Original file line number Diff line number Diff line change 22//!
33//! Handles all CLI subcommands and argument parsing.
44
5- mod commands ;
5+ mod config ;
66mod logging;
7+ mod version;
78
8- pub use commands :: * ;
9+ pub use config :: { handle_config_command , ConfigSubcommand } ;
910pub use logging:: * ;
11+ pub use version:: display_version;
Original file line number Diff line number Diff line change 1+ //! Version command handler
2+
3+ /// Display version information
4+ pub fn display_version ( ) {
5+ println ! ( "flux9s {}" , env!( "CARGO_PKG_VERSION" ) ) ;
6+ println ! ( " {}" , env!( "CARGO_PKG_DESCRIPTION" ) ) ;
7+ println ! ( " {}" , env!( "CARGO_PKG_AUTHORS" ) ) ;
8+ println ! ( " License: {}" , env!( "CARGO_PKG_LICENSE" ) ) ;
9+ println ! ( " Repository: {}" , env!( "CARGO_PKG_REPOSITORY" ) ) ;
10+ }
You can’t perform that action at this time.
0 commit comments