Giter VIP home page Giter VIP logo

agenda-go's Introduction

Agenda —— Go version

build status

Team member

Usage

  • get help

    If you want to know more about parameters of the command, you can input

    $ agenda-go help

    or

    $ agenda-go help

    or

    $ agenda-go help

    for details:

    Usage:
    agenda [command]
    
    Available Commands:
    help        Help about any command
    meeting     Manage meetings
    user        Manage user account
    
    Flags:
    -h, --help   help for agenda
    
    Use "agenda [command] --help" for more information about a command.
    

    If you want to know more details about command of user or meeting, you can input:

    $ agenda-go user

    Usage:
    agenda user [flags]
    agenda user [command]
    
    Available Commands:
    create      create user account
    delete      Delete user account
    login       user login
    logout      Sign out
    show        Show user account
    
    Flags:
    -h, --help   help for user
    
    Use "agenda user [command] --help" for more information about a command.
    

    $ agenda-go meeting

    Usage:
    agenda meeting [flags]
    agenda meeting [command]
    
    Available Commands:
    clear       Clear all meetings
    create      create meeting
    delete      Delete meeting
    leave       Leave meeting
    manage      Manage meeting
    show        Show meeting information
    
    Flags:
    -h, --help   help for meeting
    
    Use "agenda meeting [command] --help" for more information about a command.
    

    You can know about the details of every command by inputting

    $ agenda meeting [command] -h

    or

    $ agenda user [command] -h

  • register

    $ agenda-go user create -uusername [email protected] -p10086

    And input password correctly.

  • log in

    $ agenda-go user login -uusername

    And input your password.

  • log out

    $ agenda-go user logout

  • show information of all users

    $ agenda-go user show

    @username:
    Username       E-mail                   phone number
    llguser        fgh                      dfghjkl
    gdfghjkuser    fgh                      dfghjkl
    guser          fgh                      dfghjkl
    UUU            [email protected]         123
    a              [email protected]         13719342025
    ss             saaaaaaaa                sssssss
    aaa            dghjkl                   dfghjk
    username       [email protected]         10086
    
    Total number is 8
    
  • delete your account

    $ agenda-go user delete

  • create meeting

    $ agenda-go meeting create --name meetingname

        @username:
        1. llguser
        2. gdfghjkuser
        3. guser
        4. UUU
        5. a
        6. ss
        7. aaa
        8. username
        Please choose the number of them to join your meeting(seprate with space): 1 2 3
        Please input start time(format: YYYY-MM-DD/HH:MM): 2017-11-11/11:22
        Please input end time(format: YYYY-MM-DD/HH:MM): 2017-11-11/12:22
        Create meeting meetingname finished.
    
  • leave meeting you participate in

    $ agenda-go meeting leave --name meetingname

    @user:
    Finish leaving meeting meetingname.
    
  • manage meeting created by you

    • delete one of participators in your meeting

    $ agenda-go meeting manage -d --name meetingname

    @username:
    Participators:
    1. llguser
    2. gdfghjkuser
    3. guser
    4. UUU
    5. a
    6. ss
    Please input the number you want to remove: 1
    llguser was removed.
    
    • add someone as a partipator in your meeting

    $ agenda-go meeting manage --name meetingname

    @username:
    You can choose some of them to add to your meeting:
    1. llguser
    2. gdfghjkuser
    3. guser
    4. UUU
    5. a
    6. ss
    7. aaa
    8. username
    Please input the number of users you want to add(separate with blank): 1
    llguser was added.
    
  • delete meeting created by you

    $ agenda-go meeting delete --name meetingname

    @username:
    Delete meetingname finished.
    
  • clear all meetings created by you

    $ agenda-go meeting clear

    @username:
    Are you sure you want to clear all of your meetings? (y/n) y
    All of the meeting have been deleted.
    
  • show information of all meetings you sponsored or participate in

    $ agenda-go meeting show -s2015-11-11/11:00 -e2018-11-11/11:00

    @username:
    --·--·--·--·--·--·--·--·--·--·--
    Theme: meetingname
    Sponsor: username
    Start time: 2017-11-11/11:22
    End time: 2017-11-11/12:22
    Participator: llguser, gdfghjkuser, guser
    --·--·--·--·--·--·--·--·--·--·--
    

data

All user data of our program include user.json, meeting.json, curUser.txt, agenda.log is put in HOME/.agenda.

code

Our code consists by cmd and entity. entity is responsible for low-level storage and logical processes.cmd is used for processing user input.

At last, thanks for reading!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.