#17 cranc get prs instead of pr list
Merged 5 years ago by lenkaseg. Opened 5 years ago by lenkaseg.
lenkaseg/cranc rename_pr_list  into  master

file modified
+4 -5
@@ -7,7 +7,6 @@ 

  

  from libpagure import libpagure

  

- <<<<<<< HEAD

  api_token = os.getenv("CRANC_TOKEN")

  project = "pagure"

  
@@ -27,11 +26,11 @@ 

  

  

  @click.group()

- def pr():

+ def get():

      pass

  

  

- @click.command(name="list")

+ @click.command(name="prs")

  @click.option("--status")

  @click.option("--assignee")

  @click.option("--author")
@@ -57,10 +56,10 @@ 

          _log.exception("Failed to connect to the server")

  

  

- pr.add_command(pr_list)

+ get.add_command(pr_list)

  

  ################################################################################

  # General section

  ################################################################################

  

- cranc.add_command(pr)

+ cranc.add_command(get)

command adjusted to match the new structure

Pull-Request has been merged by lenkaseg

5 years ago
Metadata