Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Usability fix for the rank command #34

Merged
merged 12 commits into from
Jan 16, 2019
Merged

Conversation

drgoonic
Copy link
Contributor

The "rank" command now accepts a wider range of inputs for both the category and subcategory arguments

  • ignores case
  • magicites accept '3','3star','3-star','3 star'
  • torment accepts 'torment', 'tor', 'neotorment', 'neo'
  • no-csb recognizes 'no-csb','nocsb','no','no csb'

Added the "rank" command to allow speedrunners to pull their specific stats in the general categories.

The new command has the form:
rank <playername> <category> <type>
playername = name in the speedrun sheet
category = 3star, 4star, 5star, or Torment (defaults to 4star)
type = overall or no-csb (defaults to overall)
Removed some extraneous changes from commit

Brought rank command in line with template literal usage
1) Cleaned up rank command examples

2) The spreadsheet formatting of the playername will now be used in the table output
The "rank" command now accepts a wider range of inputs for both category and subcategory.

-ignores case
-magicites accept '3','3star','3-star','3 star'
-torment accepts 'torment', 'tor', 'neotorment', 'neo'
-no csb recognizes 'no-csb','nocsb','no','no csb'
Initial breakout of redudant functions from the speedrun/rank utilities
@brasstax brasstax merged commit 368fe0a into brasstax:master Jan 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants