We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a02592d commit 44c1101Copy full SHA for 44c1101
pgml-sdks/pgml/src/cli.rs
@@ -160,6 +160,11 @@ pub fn cli(
160
Ok(promise)
161
}
162
163
+#[cfg(all(not(feature = "python"), not(feature = "javascript")))]
164
+pub async fn cli() -> anyhow::Result<()> {
165
+ cli_internal().await
166
+}
167
+
168
async fn cli_internal() -> anyhow::Result<()> {
169
#[cfg(feature = "python")]
170
let subcommand = {
pgml-sdks/pgml/src/lib.rs
@@ -34,6 +34,7 @@ mod utils;
34
35
// Re-export
36
pub use builtins::Builtins;
37
+pub use cli::cli;
38
pub use collection::Collection;
39
pub use model::Model;
40
pub use open_source_ai::OpenSourceAI;
0 commit comments