File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,10 @@ pub(crate) enum Opt {
135
135
/// Change host specification
136
136
Edit ( EditOpts ) ,
137
137
/// Display status
138
+ ///
139
+ /// This will output a YAML-formatted object using a schema intended to match a Kubernetes resource
140
+ /// that describes the state of the booted container.
141
+ /// The exact API format is not currently declared stable.
138
142
Status ( StatusOpts ) ,
139
143
/// Add a transient writable overlayfs on `/usr` that will be discarded on reboot.
140
144
#[ clap( alias = "usroverlay" ) ]
Original file line number Diff line number Diff line change @@ -253,6 +253,8 @@ pub(crate) async fn status(opts: super::cli::StatusOpts) -> Result<()> {
253
253
host
254
254
} ;
255
255
256
+ eprintln ! ( "note: The format of this API is not yet stable" ) ;
257
+
256
258
// If we're in JSON mode, then convert the ostree data into Rust-native
257
259
// structures that can be serialized.
258
260
// Filter to just the serializable status structures.
You can’t perform that action at this time.
0 commit comments