title: Creating hierarchical commands using Python Click
body: <p>Suppose I want to create a CLI that looks like this</p>
  
  <pre><code>cliName user create
  cliName user update
  </code></pre>
  
  <p>How would I do this?</p>
  
  <p>I've tried doing something like this -</p>
  
  <pre><code>@click.group()
  def user():
     print("USER")
     pass
  
  @user.command()
  def create():
      click.echo("create user called")
  </code></pre>
  
  <p>when I run <code>cliName user create</code>, the print statements do not run. Nothing runs.</p>