You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mdonnalley this could be useful to ease the usage of CLIs built with oclif by AI agents. You can help defining the standard using oclif's well rounded model. Then you can create @oclif/plugin-opencli
some common structured types: guid, datetime, url...
In case of list arguments e.g. separated by , with primitive/structured types, using vec<i32> with only one level for now would be enough. (e.g. no vec<vec<xyx>>)
Should cover most of the usecases and things can be expanded further in minor versions.
Activity
[-]How should we represent types?[/-][+]How should we represent argument types?[/+]AllanOricil commentedon Jul 8, 2025
@mdonnalley this could be useful to ease the usage of CLIs built with oclif by AI agents. You can help defining the standard using oclif's well rounded model. Then you can create
@oclif/plugin-openclicristiand391 commentedon Jul 8, 2025
@AllanOricil answered here: oclif/oclif#1806 (comment)
xoofx commentedon Jul 9, 2025
Love the initiative! 🤗
It would be quite valuable to support argument types to automate parsing from the specs to a strongly typed language.
I would think that having a default
stringtype and then provide support for:bool,i8,u8,i16,u16,i32,u32,i64,u64,f32,f64guid,datetime,url...In case of list arguments e.g. separated by
,with primitive/structured types, usingvec<i32>with only one level for now would be enough. (e.g. novec<vec<xyx>>)Should cover most of the usecases and things can be expanded further in minor versions.