51 Commits

Author SHA1 Message Date
Armel Soro
5660093167 Use go-cmp instead of reflect.DeepEqual to compare unit test results (#6343) 2022-11-24 07:24:32 -05:00
Philippe Martin
062160280f Add assertions for types implementing interfaces (#5893) 2022-07-01 08:12:24 +00:00
Parthvi Vala
abc4b59369 Remove references to v2 commands, remove unused functions, and constants (#5638)
* Remove references to v2 commands, remove unused functions, and constants

Signed-off-by: Parthvi Vala <pvala@redhat.com>

* Dharmit's review

Signed-off-by: Parthvi Vala <pvala@redhat.com>
2022-04-20 00:54:15 -04:00
Philippe Martin
24fd02673d Remove github.com/pkg/errors dependency (#5557)
* Change errors.Wrapf

* Replace errors.Wrap

* Dont use pkg/errors (except error.Cause)

* Fix errors on Windows (do not test system underlying message)

* Replace errors.Cause

* Review
2022-03-21 11:32:42 +01:00
Philippe Martin
b20103c9f3 Separate layers - Application + Project (#5293)
* Application interface

* Application describe

* Application list

* Fix --output/-o flag

* Test Run()

* Tests on application pkg

* Unit tests on kclient relative to application

* comment

* Add ComponentList method to Application

* Project interface

* Project CLI tests

* Dharmit review
2022-01-05 16:08:40 +01:00
Philippe Martin
e2f8b131cc Refactor occlient (#5271)
* Remove unused code / files

* Move RunLogout to kclient

* Move project to kclient

* Move Routes to kclient

* Cleanup occlient package

* Review
2021-12-09 18:21:19 +00:00
Tomas Kral
5f79c542a8 openshift/odo -> redhat-developer/odo (#5268)
* openshift/odo -> redhat-developer/odo

* update more links to redhat-developer
2021-12-01 16:38:34 +01:00
Tomasz Janiszewski
0512d3a2cf Fix shadow (#5172)
* Configure golint

* auth/login.go

* catalog/catalog.go

* component/component.go

* component/component_full_description.go

* config/config.go

* component/adapter.go

* component/podwatcher_test.go

* envinfo/envinfo.go

* envinfo/storage.go

* envinfo/url.go

* kclient/deployments.go

* occlient/occlient.go

* describe/component.go

* component/create.go

* component/delete.go

* component/list.go

* component/push.go

* config/set.go

* config/unset.go

* service/operator_backend.go

* genericclioptions/context.go

* preference/preference_test.go

* project/project.go

* service/link.go

* service/service.go

* storage/storage.go

* sync/adapter.go

* sync/adapter_test.go

* sync/sync.go

* url/kubernetes.go

* util/file_indexer.go

* util/util.go

* util/util_test.go

* watch/watch.go

* watch/watch_test.go

* helper/helper_filesystem.go

* devfile/cmd_devfile_push_test.go

* devfile/cmd_devfile_url_test.go

* devfile/cmd_devfile_watch_test.go

* operatorhub/cmd_service_test.go

* gofmt

* Enable gofmt in golangci

* Return context not nil

* reanme context

* Remove unused value in watch

* Fix pkg/catalog/catalog.go
2021-10-27 18:02:17 +00:00
Philippe Martin
0e68584fc1 Refactor machine output code (#4948)
* Refactor human readable output

* Add doc on JSON output

* Update website/docs/using-odo/json-output.md

Co-authored-by: Dharmit Shah <shahdharmit@gmail.com>

* Review

* review

Co-authored-by: Dharmit Shah <shahdharmit@gmail.com>
2021-09-03 01:53:11 +02:00
Philippe Martin
97b523a5a0 Doc app / project (#4868) 2021-07-02 01:18:31 -04:00
Parthvi Vala
7232538f87 List components from other sources (#4742)
* List components from other sources

* Rename OdoManagedBy and OdoVersion to ManagedBy and ManagerVersion

* Add tests

* Add deployment and deploymentconfig manifests

* Move tests

* Test case

* Add cleaner tests

* Add comments

* Cleanup and fix tests

* Add comment

* Fix CI failures

* Change error check

* Add unit tests for ConvertLabelToSelector

* Fix unit test CI failure
2021-06-14 21:54:13 -04:00
Mrinal Das
bf6b1b4c3a Refactors service catalog and discovery client code (#4272)
* Refactors service catalog and discovery client code and moves them into the kclient package.

It also refactors the operator code.

* Renames ListClusterServiceVersion() to ListClusterServiceVersions()
2020-12-03 13:38:14 -05:00
Girish Ramnani
529a1bd5de remove packages imported twice (#4275) 2020-12-03 10:08:02 +01:00
Mrinal Das
146c982355 Moves project related code from occlient.go to a new file (#4211)
* Moves project related code from occlient.go to a new file

* Fixes comments and few function names
2020-11-18 12:37:25 +01:00
Tomas Kral
3ca50987d0 add Kubernetes namespace support (#3647)
* add Kubernetes namespace support

* fix project unit tests

* add project unit tests for Kubernetes

* fix race in unit test

* use Context as it encasulates both client and kclient
2020-08-05 06:38:48 +02:00
Girish Ramnani
f40bf97099 List created components for devfile v2 (#3505)
* initial work on adding AppName

* completed the implementation and tests

* resolved failing tests

* reverting an un-necessary change

* dryed the tests

* added test for having both devfile and s2i together

* uncommented some stuff

* skip s2i test on kuberenetes

* resolved charlie's comments

* addressed mrinal's comments

* resolved the panic

* use client and dc support for specific cases

* resolved final tests and odo list now worked for unpushed components

* resolved failing unit tests

* update the component adapter in other places

* resolved all comments

* removed the created context at the end of the test

* addressed tomas's comment

* resolved all comments

* updated all devfiles with proper name

* resolved rebase

* addressed a missed error and more validation in the tests

* use random cmpName for tests
2020-07-22 15:38:38 +02:00
Girish Ramnani
c9a06f4996 resolved some incorrect comments (#3473)
* resolved some incorrect comments

* resolved all comments

* resolved a typo
2020-07-07 06:32:09 -04:00
Charlie Drage
b061f34340 Actually wait for the project to be deleted.. (#2397)
Actually wait..

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-05-20 20:24:10 +02:00
Tomas Kral
6714e1c841 use odo.dev instead of odo.openshift.io apigroup (#3103)
Signed-off-by: Tomas Kral <tkral@redhat.com>
2020-05-12 07:52:39 -07:00
Mrinal Das
91534dd188 Fixes wait for project creation (#2330)
* Fixes wait for project creation

* Fixes unit test

* Changes hardcoded string to corev1.NamespaceActive

* Removed Kcore package, added unit test and comments

* Uses helper.WaitForCmdOut to wait and get the desired output for project list
2020-03-19 16:46:04 +01:00
Tomas Kral
1d8f8e4f48 cleanup OWNERS file (#2442) 2019-12-11 10:01:20 +01:00
Priti Kumari
bf24670f9d Adds unit test for project create (#2257)
* Adds unit test for project create

* Change request to remove some lines of code is Done
2019-10-24 14:08:59 +02:00
Priti Kumari
291ceceb8d Adds unit test for project list (#2240) 2019-10-04 04:29:46 -07:00
Mrinal Das
a0a0a5f220 Removes apps from project specs and speeds up the query (#2099)
* Removes apps from project specs and speeds up the query

* Adds comments

* Adds e2e test
2019-09-20 00:44:28 +02:00
Charlie Drage
66662e4e8d Adds odo catalog list services -o json (#2066)
Adds the ability to list catalog services and output to json.

The format is as follows:

```json
{
  "kind": "ServiceList",
  "apiVersion": "odo.openshift.io/v1alpha1",
  "metadata": {
    "creationTimestamp": null
  },
  "items": [
    {
      "name": "cakephp-mysql-persistent",
      "hidden": false,
      "planList": [
        "default"
      ]
    },
  ]
}
```
2019-09-09 10:57:03 +02:00
Charlie Drage
387145f5bc Adds odo create project -o json output (#1916)
Adds machine readable output for odo create project.

To test:

```sh
odo create project -o json
```
2019-08-22 19:04:07 +02:00
Girish Ramnani
0237ea2ab9 use more robust project.exists function (#1719)
* use more robust exists function

* checked the error status returned by project

* running only the two tests on travis

* added more error check and made tests better

* reversed the targetted run

* removed the comment

* added comment to GetProject
2019-05-14 16:59:26 +02:00
Suraj Narwade
5975a3f074 Improve project list (#1622)
* Improve project list

* fixed repetitive code
2019-04-15 09:23:39 -07:00
Suraj Narwade
fed18100f9 Added machine readable output for odo project list (#1370)
Fixes #1361

How to test ?

```
odo project list -o json
```
2019-04-02 03:41:51 -07:00
anmolbabu
22b306d2ef Apply ComponentSettings as part of component push (#1360)
* Create ComponentSettings on `odo create` and apply on `odo push`

This PR does the following:
1. Create Component settings config as part of `odo create` using
   the flags passed.
2. As part of `odo push`, if component does not exist:
	i. Create it with config created in 1 above
       ii. Push source code to created component and build and deploy it
       Note: Push now creates project in config if non-existant
   else
	i. Apply config in local component config file
       ii. Push source code to created component and build and deploy it
   and update the type of component if config changed
3. Add `context` as a flag to `odo create` and `odo push` to indicate
   directory that is expected to contain the component config file.
4. Deprecate application#set, get and create
5. Fixes UTs and e2e relevant to this PR and comments out un-relevant
   tests(includign mainly those that are known to broken and expected
   to fixed by subsequent issues labelled "new workflow")
   e2e credits: amitkrout <amit.silicon2008@gmail.com>

fixes #1366 #1372 #1373
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix main and component e2e tests

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Resolved component creation without application

* removed DS store

* fixed component e2e tests

* Fix e2e tests

Commit credits: amitkrout <amit.silicon2008@gmail.com>

Signed-off-by: amitkrout <amit.silicon2008@gmail.com>

* Make project creation test wait for project to appear in list

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix more e2e tests

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @cdrage comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix login tests

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* commented out oc project -q to check if it resolves java e2e
2019-03-25 23:57:55 -07:00
Tomas Kral
6bd0d73dc6 redhat-developer/odo -> openshift/odo (#1505)
* redhat-developer/odo -> openshift/odo

* gofmt

* add CircleCI tests temporary back to TravisCI
2019-03-21 17:36:28 +01:00
girish ramnani
2a47599245 broke out the preferences and config (#1362)
* broke out the preferences and config

* resolved UTs

* resolved golangCI comments

* resolved some e2e tests

* resolved error message in tests

* Resolved codeclimate issue

* resolved the e2e_test failure

* resolved some comments on the PR

* renamed GlobalConfig to Preference

* made the logic of unset simpler

* reverted the test changed

* use log instead of fmt for output

* resolved e2e test

* use log.Info instead of log.Println
2019-03-04 22:26:24 +05:30
Mohammed Ahmed
7fef28a7c9 Adding way to get around resolution of user.Current().in randomuid environments (#1412)
* Adding way to get around resolution of ~ with user.Current().

This is needed for getting UTs to run on OpenShift CI where
we login to build root as anyUID

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Adding CUSTOM_HOMEDIR to override resolution of user.Current

We can now skip user.Current by providing CUSTOM_HOMEDIR env

* Changing env to be set for test configs to GLOBALODOCONFIG

* Adding unit tests for configs

* Adding reference to CUSTOM_HOMEDIR to development.md

* Adding CUSTOM_HOMEDIR to config.go
2019-03-04 16:45:59 +01:00
Mohammed Ahmed
3b7b1789c0 Fix #1400 : Adding prow style OWNERS files (#1402)
* Fix #1400 : Adding prow style OWNERS files

This PR adds OWNERS files to enable prow to ping appropriate people
and decide whose PRs warrant automatic merge

Signed-off-by: Mohammed Zeeshan Ahmed <mohammed.zee1000@gmail.com>

* Removing kadel from tests
2019-03-04 12:00:00 +05:30
Chris Laprun
88f0d05e69 Fix #1329: Add wait flag to wait for project to be ready. (#1367)
* Fix #1329: Add wait flag to wait for project to be ready.

* Watch for projects instead of Namespaces.

* Add e2e test for project creation and wait.
2019-02-27 14:23:45 +01:00
Charlie Drage
5622eb92ba Add loading progress / revamped UX for logging (#983)
Adds a loading progress when deploying containers (in particular,
pushing..)

Revamps the logging so it's more "modern" and cleaner.
2018-11-30 10:35:08 -05:00
Mrinal Das
60b1baa0a6 Fixed the problem of displaying wrong project as active after project delete (#1005)
* Fixed the problem of displaying wrong project as active after project delete.

The project delete function in pkg folder now returns the current set project along with the error if any. If no project is left to be set active, "" is returned.

* Fixed the test

Signed-off-by: mik-dass <mrinald7@gmail.com>

* Fixed the comments

Signed-off-by: mik-dass <mrinald7@gmail.com>
2018-11-23 15:37:48 +05:30
mik-dass
4804640661 Fixed the problem of not clearing config file after project deletion.
A new function, DeleteProject() is added to the odo config pkg to clean up the active application and components belonging to the deleted project.
2018-10-31 14:08:25 +05:30
Suraj Narwade
c0616a7995 Refactoring code and added flags project, application & component
This PR does:

* Adds flags `project`, `application` and `component` flag to respective commands

* added `getProjectName` and `getAppName` reusable functions which looks for `project` or `application` flag first, if not provided then it gives current value by default.

* Provide comments to some of the exported functions

* Refactors the way we provide `namespace` value for methods in `occlient.go`.
(No method will accept namespace as a argument, whenever needed we will use `client.Namespace` value)

* Updated unit tests as per new refactoring
2018-10-30 14:27:59 +05:30
anmolbabu
ea2e4f0e77 Provision configurable generation of app and component names making them non-mandatory to be passed (#741)
* Add random string generator util

This commit adds a genric utility(and UTs to test associated
functionality) to generate random names using:
1. a prefix
2. an optional suffix
and additionally checks if the generated name is already in use in:
3. passed existList.
The utility generates the name in the form of prefix-suffix but if
the same is already in use(present already in the passed existList),
a new unique(not in existList) name of the form prefix-suffix-(a-z){4}
will be attempted to be generated. Additionally, if suffix is not passed,
it attempts to generate a suffix using the MIT licensed vendored library
`github.com/Pallinder/go-randomdata` that can generate the random strings
as in: `https://github.com/Pallinder/go-randomdata/blob/master/README.md`

fixes #216
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Make app name non-mandatory for odo create app

This commit makes the `odo create app`command generate a
random name for the application if the user has not passed the
app name as `odo create app <app_name>`.
The random name involves the following parts:
1. configurable prefix with `app` as safe default
2. randomly generated suffix which if already used will be further
   appended with a 4 character random string for duplicate resolution

fixes #216
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Add vendored package

fixes #216
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @snarwade and @syamgk comments

fixes #741
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Add UTs and e2e tests

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @mik-dass comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix travis errors

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate comments from @golangcibot

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix travis failures

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Random generate component names

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @cdrage comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Changes as per new suggestions by @jorgemoralespou

The new behaviour is as follows:

By default(in absence of prefix in config being overriden) app and component
names will be named after the directory from which `odo app create` and
`odo create` components are used along with a random 4 char length string as
unique suffix. However, if the prefix in config is overriden by user, the same
will be used instead of fetching any directory/path names along with the random
4 char length string unique suffix..
This is achieved as follows:
1. For component create, in absence of `prefix` being overriden by user in the
odo config:
   a. If component is created from git, the git url's ending part which
      is the repository name is used for app and compoennt names. For,
      component name, additionally we use component type also.
      case 1: Component creation in absence of an app
        app name: ${repo_name}-${random_4_char_str}
        component name: ${repo_name}-${component_type}-${random_4_char_str}
      case 2: App exists already
        component name: ${repo_name}-${component_type}-${random_4_char_str}
   b. If component is created from local source, the last part of source path,
      which is the source directory, is used for app and compoennt names. For,
      component name, additionally we use component type also.
      case 1: Component creation in absence of an app
        app name: ${src_dir_name}-${random_4_char_str}
        component name: ${src_dir_name}-${component_type}-${random_4_char_str}
      case 2: App exists already
        component name: ${src_dir_name}-${component_type}-${random_4_char_str}
   c. If component is created from binary, the binary name excluding its extension
      is used for app and compoennt names. For component name, additionally we use
      component type also.
      case 1: Component creation in absence of an app
        app name: ${binary_name}-${random_4_char_str}
        component name: ${binary_name}-${component_type}-${random_4_char_str}
      case 2: App exists already
        component name: ${binary_name}-${component_type}-${random_4_char_str}
2. For app create, in absence of `prefix` being overriden by user in the
odo config:
    app name: ${current-dir}-${random_4_char_str}
3. For app create in case of prefix in config being overriden,
    app name: ${prefix}-${random_4_char_str}
4. For component create, in case of a configured prefix,
    app name: ${prefix}-${random_4_char_str}
    component name: ${prefix}-${component_type}-${random_4_char_str}

fixes #216
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix tests as per latest changes

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Remove the no-more required vendored package go-randomdata

This is no longer required due to new changes

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @codeclimate and @golangcibot comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix travis failures

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @GolangCI comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @cdrage comments

This commit adds option to delete app(current app) if app name
is not passed for deletion.

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incorporate @snarwade comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Rebase

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @cdrage comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @mik-dass comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix travis failure

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incorporate @kadel comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incorporate @tkral comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @tkral comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Doc update

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix travis failures

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incorporate @cdrage comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>
2018-10-23 20:15:41 +05:30
anmolbabu
c14773a25e Enhance project delete + Add UTs (#740)
* Delete project enhancements + unit tests and e2e tests

This PR adds the following:
1. When a project is deleted, the delete project now displays also the
   active project post deletion if there are more projects left post deletion
2. Adds UTs and e2e tests for project delete
3. Handles the case of project list with no projects with a proper message
   indicating that there are no currently available projects and suggests the
   command to create a project instead of displaying an empty table.

fixes #726 #750
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Addess @codeclimate comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @cdrage and @snarwade comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @snarwade and @tkral comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix gofmt errors

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @codeclimate comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incorporate @cdrage comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix travis failures

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incorporate @tkral comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix error msgs -- start them with small letters

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>
2018-10-19 12:48:00 -04:00
Piyush Garg
dffee418e7 Add support for odo app list --project name (#684)
* Add support for odo app list --project name
Add e2e regarding the new command
Refactored list function to make code reusable
Use tabwriter to print everything
Fix typos
Fixes #206

* Adds function to set all applications inactive

Implemented a function to set all applications inactive
of the current project when switching to other project

Refactored the unset active component to be able to
use in project because we want to unset active component
also when switching to other project

Refactored delete component function because we want
to unset only if application name and current application
name are equal

* Fix typo
2018-10-01 10:38:26 -04:00
anmolbabu
4d939c7c1f Momentarily remove project delete UT (#719)
Momentarily remove project delete UT until a better way to
stub ModifyConfig is found

fixes #718
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>
2018-09-11 12:07:07 +05:30
anmolbabu
d924a1b36e Add project delete command (#648)
* Add project delete command

This PR adds project delete command.
The core implementation is only wrapped around by this PR
and exposed to the outside as a cli command

fixes #646
Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Add monkeypatching dependency to vendor/

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Add UTs

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Add e2e tests

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @cmoulliard comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Fix travis failures

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @syamgk comment

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporated @surajnarwade comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>

* Incoporate @cdrage comments

Signed-off-by: anmolbabu <anmolbudugutta@gmail.com>
2018-09-10 14:18:12 -04:00
mdas
6ebbb06fbf Fixes the problem of switching to a non-existing project
Adds a exists function to check for the existence of a project. The set uses it to check the existence of a project with the given name
2018-04-17 15:21:37 +05:30
Suraj Narwade
73f6148780 Renaming ocdev to odo
Resolves #336.
I didn't change bintray repo name yet. Others, almost all references are changed to odo.
2018-04-12 20:50:08 +02:00
Shubham
9a66c0c3c6 Merge pull request #284 from kadel/use-project-abstraction
use project abstraction
2018-04-03 10:22:46 +05:30
Tomas Kral
805b768274 use project abstraction 2018-03-29 16:35:36 +02:00
Shubham Minglani
ccaa949a0b Rename project commands
This commit renames the commands in project package to be more
consistent with the other packages.
- ListProjects() is now List()
- CreateProjects() is now Create()
2018-03-29 17:32:06 +05:30
mdas
44cec00531 Added the project list command
Signed-off-by: mdas <mrinald7@gmail.com>
2018-03-28 23:08:59 +05:30