Sha256: f4c5051289c85cd4e4d88f30493453f88fb9a61d53428901abae647550928287

Contents?: true

Size: 937 Bytes

Versions: 176

Compression:

Stored size: 937 Bytes

Contents

#ifndef CLI_H
#define CLI_H

#include "common.h"

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

#ifndef PROJECT_VERSION
#error "PROJECT_VERSION not set"
#endif /* PROJECT_VERSION */

#ifndef CLI_VERSION
#define CLI_VERSION _xstr(PROJECT_VERSION)
#endif /* CLI_VERSION */


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;
  bool mark_self_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

176 entries across 166 versions & 20 rubygems

Version Path
harbr-2.8.1 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.2.10 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.2.9 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.2.8 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.2.7 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.2.6 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.2.5 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.2.4 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.2.3 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.2.2 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.2.1 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.2.0 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.1.99 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.1.98 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.1.97 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.1.96 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.1.95 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.1.94 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.1.93 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h
harbr-0.1.91 vendor/bundle/ruby/3.2.0/gems/rb-fsevent-0.11.2/ext/fsevent_watch/cli.h