<commit_before>Feature: gcli commit

  @ci-run
  Scenario: Available commands

    When I run `gcli commit`
    Then the exit status should be 0
      And the output should contain "gcli commit get"
      And the output should contain "gcli commit create"

  Scenario: Get commit
    Given the GitHub API server:
    """
    get('/repos/wycats/thor/git/commits/59b23de9b91d') { status 200 }
    """
    When I run `gcli commit get wycats thor 59b23de9b91d`
    Then the exit status should be 0

  Scenario: Create commit
    Given the GitHub API server:
    """
    post('/repos/wycats/thor/git/commits') { status 200 }
    """
    When I run `gcli commit create wycats thor --params=message:'my commit' tree:827efc parents:['7d1b31e']`
    Then the exit status should be 0<commit_msg>Update commit commands feature with new options.<commit_after>Feature: gcli commit

  @ci-run
  Scenario: Available commands

    When I run `gcli commit`
    Then the exit status should be 0
      And the output should contain "gcli commit get"
      And the output should contain "gcli commit create"

  Scenario: Get commit
    Given the GitHub API server:
    """
    get('/repos/wycats/thor/git/commits/59b23de9b91d') { status 200 }
    """
    When I run `gcli commit get wycats thor 59b23de9b91d`
    Then the exit status should be 0

  Scenario: Create commit
    Given the GitHub API server:
    """
    post('/repos/wycats/thor/git/commits') { status 200 }
    """
    When I run `gcli commit create wycats thor --message='my commit' --tree=827efc --parents=['7d1b31e']`
    Then the exit status should be 0
{'fraction_non_alphanumeric': 0.08739076154806492, 'fraction_numerical': 0.03745318352059925, 'mean_word_length': 3.027638190954774, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7022456', 'n_tokens_mistral': 555, 'n_tokens_neox': 490, 'n_words': 189}