Code Monkey home page Code Monkey logo

agenda's Introduction

Agenda

Build Status

Team member

  • 胡子昂 15331111
  • 侯培中 15331105
  • 柯永基 15331135

项目完成情况

实现了github上多人协作开发;使用 json 存储 User 和 Meeting 实体,当前用户信息存储在 curUser.txt 中,实现了数据持久化;使用travis进行项目持续集成;添加 log 服务,记录用户的操作过程,以及关键的输出。

项目分工

  • 胡子昂
    1. 整体项目框架的初构建
    2. entity/user包的实现
    3. log日志的实现
  • 侯培中
    1. 整体项目框架的改进
    2. entity/meeting包的实现
    3. meeting的test实现
    4. 使用travis进行项目持续集成
  • 柯永基
    1. cobra项目的创建
    2. 逻辑层的实现
    3. 项目总管理

项目功能

  1. 用户注册,登录登出,用户查找,用户删除
  2. 用户创建会议,取消会议,修改会议人员,显示所有要参加的会议
  3. 用户和会议储存

安装和运行

使用go get 安装后,在$GOPATH中的bin文件夹直接运行Agenda。

~$ go get github.com/tpisntgod/Agenda
~$ $GOPATH/bin/Agenda

Usage

  • 使用$GOPATH/bin/Agenda -h调用总体帮助界面

    ~$ $GOPATH/bin/Agenda -h
    Usage:
      agenda [command]
    
    Available Commands:
      help        Help about any command
      register    to create a new account
      login       to sign in
      logout      to sign out
      usrSch      to list all the users
      usrDel      to delete the current user
      mc          to create a new meeting
      ap          to add some participators to a meeting
      dp          to delete some partipators from a meeting
      ms          to list all meetings you take part in according to the time you provide
      mq          to quit a meeting
      mc          to cancel a meeting
      mclr        to clear all the meetings you host
    
    Flags:
      -h, --help   help for agenda
    
    Use "agenda [command] --help" for more information about a command.
  • 对每个指令,使用$GOPATH/bin/Agenda XX -h查看帮助页面,获得命令所需要参数  比如,想要知道ap命令的格式,输入$GOPATH/bin/Agenda ap -h,提示中有命令格式等所需信息。

 具体信息其中包含:

​ Example:具体实例($GOPATH/bin/Agenda ap -ttitle -pPeter -pMarry,意为添加Peter和Marry到名字叫title的会议中)

​ Flags: 每个flag的使用方法和作用

~$ $GOPATH/bin/Agenda ap -h
to add some participators to a meeting with 
	the title of the meeting and the name of the new participators.
	 For example:

./app ap -ttitle -pPeter -pMarry

Usage:
  Agenda-GO ap [flags]

Flags:
  -h, --help                help for ap
  -p, --parti stringArray   name of the participators you want to add 
  -t, --title string        title of the meeting

Global Flags:
      --config string   config file (default is $HOME/.Agenda-GO.yaml)

agenda's People

Contributors

tpisntgod avatar yokyj avatar bilibilichangkai avatar

Watchers

James Cloos avatar

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.