Commit 355b519c authored by Sheldon Els's avatar Sheldon Els

describe all packages works again

parent f7e15610
function omf.cli.describe -a name
switch (count $argv)
case 1
omf.packages.describe $name
return 0
case '*'
echo (omf::err)"Invalid number of arguments"(omf::off)
return 1
end
omf.packages.describe $name
return 0
end
function omf.packages.describe -a name
if test (count $argv) -eq 0
for package in (omf.packages.list --database)
echo $package - (omf.describe $package)
echo $package - (omf.packages.describe $package)
end
else
set package_path $OMF_PATH/db/pkg/$name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment