Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
oh-my-fish
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
oh-my-fish
Commits
4b541ec0
Commit
4b541ec0
authored
May 10, 2016
by
Stephen M. Coakley
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #310 from sheldon/describe-fixes
Describe all packages fixed
parents
a79b6c1d
355b519c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
10 deletions
+4
-10
pkg/omf/functions/cli/omf.cli.describe.fish
pkg/omf/functions/cli/omf.cli.describe.fish
+2
-8
pkg/omf/functions/cli/omf.cli.help.fish
pkg/omf/functions/cli/omf.cli.help.fish
+1
-1
pkg/omf/functions/packages/omf.packages.describe.fish
pkg/omf/functions/packages/omf.packages.describe.fish
+1
-1
No files found.
pkg/omf/functions/cli/omf.cli.describe.fish
View file @
4b541ec0
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
end
pkg/omf/functions/cli/omf.cli.help.fish
View file @
4b541ec0
pkg/omf/functions/packages/omf.packages.describe.fish
View file @
4b541ec0
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment