Sha256: 0de7046d3cd4fd1a33ced97be1f75283e294f879e52c639ade78dd288f67a5ee

Contents?: true

Size: 811 Bytes

Versions: 3

Compression:

Stored size: 811 Bytes

Contents

#ifndef CLI_H
#define CLI_H

#ifndef CLI_NAME
#define CLI_NAME "fsevent_watch"
#endif /* CLI_NAME */

#ifndef CLI_VERSION
#define CLI_VERSION "0.0.1"
#endif /* CLI_VERSION */

#include "common.h"

struct cli_info {
  UInt64 since_when_arg;
  double latency_arg;
  bool no_defer_flag;
  bool watch_root_flag;
  bool ignore_self_flag;
  bool file_events_flag;
  enum FSEventWatchOutputFormat format_arg;

  char** inputs;
  unsigned inputs_num;
};

extern const char* cli_info_purpose;
extern const char* cli_info_usage;
extern const char* cli_info_help[];

void cli_print_help(void);
void cli_print_version(void);

int cli_parser (int argc, const char** argv, struct cli_info* args_info);
void cli_parser_init (struct cli_info* args_info);
void cli_parser_free (struct cli_info* args_info);


#endif /* CLI_H */

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rb-fsevent-0.9.0.pre3 ext/fsevent_watch/fsevent_watch/cli.h
rb-fsevent-0.9.0.pre2 ext/fsevent_watch/fsevent_watch/cli.h
rb-fsevent-0.9.0.pre1 ext/fsevent_watch/fsevent_watch/cli.h