Discover Packages
github.com/itrepablik/quiz_master
command
module
Version:
v0.0.0-...-92a1ef8
Opens a new window with list of versions in this module.
Published: Jan 18, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Quiz Master App
Is a simple quiz master app using Cobra CLI with sqlite db for embedded local database storage for all the questions.
How to setup the quiz_master app?
Clone this repo to your local machine and compile it accordingly based on your OS platform.
If you have Make software installed, you can easily run it with this command "make build" or "make all" to setup, build, test
If all is well, you can run the quiz_master app in your local machine.
App Features
Main app interface
Help command, for e.g: quiz_master create_question --help
Command to create a new question, quiz_master create_question 1 "How many letters are there in the English alphabet?" 26
Command to delete a question, quiz_master delete_question 1
, there will be a prompt first to confirm user's action.
Command to update the question, quiz_master update_question 1 "Test update" 25
, if the question number is not found, throw and error instead.
Command to display all questions information, quiz_master questions
Command to display a single question with inputs from the user's for their answer, quiz_master question 1
Expand ▾
Collapse ▴
Documentation
¶
Copyright © 2021 ITRepablik itrepablik@gmail.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Source Files
¶
Directories
¶
utils
Click to show internal directories.
Click to hide internal directories.