We currently require explicit IDs for all commands - anywhere from just --dseq to thew entire LeaseID. This is unnecessarily cumbersome - many times there is only one reasonable set of values to use for the ID.
IDs in the system are generally additive with respect to a related object - OrderID = GroupID + OSeq, BidID = OrderID + Provider, etc... And indexes are laid out such that the "smaller" object can act as a prefix search for the "larger" object.
--owner
--dseq
--gseq
--oseq
--provider
I'd like there to be a way to set some runitime defaults where possible. For example:
If only --owner and --dseq are provided, but there is only one lease open for the deployment, akash provider lease-status would only need --owner and --dseq.
Only --dseq is required when running akash tx market order close.
If there is only one open deployment for --owner, then --dseq isn't even needed above.
If the target object is not fully specified and the heuristic fails, it should fail with a message that indicates that more information is needed.
As a stretch goal, it'd also be nice to get a full collection of matching objects. For instance, for the akash provider send-manifest command, It could automatically send the manifest to all providers if a --all flag is set.
We currently require explicit IDs for all commands - anywhere from just
--dseq
to thew entire LeaseID. This is unnecessarily cumbersome - many times there is only one reasonable set of values to use for the ID.IDs in the system are generally additive with respect to a related object -
OrderID = GroupID + OSeq
,BidID = OrderID + Provider
, etc... And indexes are laid out such that the "smaller" object can act as a prefix search for the "larger" object.--owner
--dseq
--gseq
--oseq
--provider
I'd like there to be a way to set some runitime defaults where possible. For example:
--owner
and--dseq
are provided, but there is only one lease open for the deployment,akash provider lease-status
would only need--owner
and--dseq
.--dseq
is required when runningakash tx market order close
.--owner
, then--dseq
isn't even needed above.If the target object is not fully specified and the heuristic fails, it should fail with a message that indicates that more information is needed.
As a stretch goal, it'd also be nice to get a full collection of matching objects. For instance, for the
akash provider send-manifest
command, It could automatically send the manifest to all providers if a--all
flag is set.