AS a command line user, I want to be able to interact with the sort option #74
Labels
No labels
blocked
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs criteria
needs estimate
needs tests
question
spike
type
admin
type
alert
type
bug
type
defect
type
dependencies
type
epic
type
investigation
type
story
wontfix
blocked
duplicate
needs criteria
needs designs
needs estimate
needs testing
question
type
admin
type
alert
type
bug
type
defect
type
dependencies
type
design
type
documentation
type
epic
type
incident
type
investigation
type
spike
type
story
won't fix
No project
No assignees
2 participants
Notifications
Total time spent: 51 minutes 43 seconds
Due date
Vylpes
44 minutes 43 seconds
VylpesTester
7 minutes
No due date set.
Depends on
#50 AS a user of the package, I want to have a default value for the "sortBy" variable
RabbitLabs/random-bunny
#71 AS a user, I want to have a basic command line interface created
RabbitLabs/random-bunny
Reference: RabbitLabs/random-bunny#74
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Epic: #70
Story Points: 3
AS a command line user, I want to be able to interact with the sort option
SO THAT I can use different sort options than just the default
Acceptance Criteria
AS a command line user
GIVEN I want to sort by a non-default option
WHEN I input with the sort tag an option ('new', 'top', or 'hot')
THEN the randomiser will select based on these sort options instead
AS a command line user
GIVEN I want to sort by the default option
WHEN I don't supply the sort tag
THEN the default will be used
AS a command line user
GIVEN I supply an incorrect option to the sort tag
WHEN I run the command
THEN I will be given an error message
Subtasks
Notes
--sort
Sort command line optionto AS a command line user, I want to be able to interact with the sort optionTests timed out
This has passed testing. The
--sort
option now appears in the help menu, defaults to "hot" when nothing inputted, and throws an error if the option is invalid