Stefano on August 31st, 2008

Listing

  • Getting the list of available packages
    $ cnls
  • Getting a long list of available packages
    $ cnls -l
  • Getting a long list of a specific package
    $ cnls -d
  • Getting a list with an additional description of the package
    $ cnls -l package-1.0.0
  • Getting a list of packages matching a globbing pattern (note the escaping with backslash)
    $ cnls \*foo\*

Running

  • Running a package default entry point
    $ cnrun testPackage-1.0.0
    $ cnrun testPackage-1.0
    etc...
  • Running a package alternative entry point
    $ cnrun testPackage-1.0.0/secondaryEntryPoint
    $ cnrun testPackage-1.0/secondaryEntryPoint
    etc...
  • Running a program via its path (fallback condition)
    $ cnrun ls
    $ cnrun /bin/ls

Resources

  • Getting a path
    $ cnpath testPackage-1.0.0/resource1

Leave a Reply