feedhenry / fh-fhc

FeedHenry CLI, the Command Line Interface to FeedHenry
Other
26 stars 66 forks source link

FH-3707-Change the cmd git to follow the V3 standard and add unit tests #366

Closed camilamacedo86 closed 7 years ago

camilamacedo86 commented 7 years ago

JIRA: https://issues.jboss.org/browse/FH-3707

Following the changes

Steps to verify

Following the local tests

Camilas-MBP:fh-fhc cmacedo$ ./bin/fhc.js git pull ip4a4aflpukhgfhb5om5nrny --json
{
  "action": {},
  "cacheKey": "73e6af88149038682e8a1726d822a0db",
  "error": "",
  "log": [
    "Cordova App Git pull finished sucessfully ."
  ],
  "progress": 100,
  "status": "complete"
}
Camilas-MBP:fh-fhc cmacedo$ 
Camilas-MBP:fh-fhc cmacedo$ ./bin/fhc.js git pull ip4a4aflpukhgfhb5om5nrny --clean
Cordova App Git pull finished sucessfully .
Camilas-MBP:fh-fhc cmacedo$ 
Camilas-MBP:fh-fhc cmacedo$ ./bin/fhc.js git pull ip4a4aflpukhgfhb5om5nrny --clean --json
{
  "action": {},
  "cacheKey": "24afec2c223ff033bcfc3b56bfa2f136",
  "error": "",
  "log": [
    "Cordova App Git pull finished sucessfully ."
  ],
  "progress": 100,
  "status": "complete"
}
Camilas-MBP:fh-fhc cmacedo$ 
camilamacedo86 commented 7 years ago

@maleck13 tks a lot for or review. The changes requested are made. Could you check it please?