commands: simplify signatures, add TODOs

laumann
Jan 4, 2024, 5:03 AM
GGHRD5EFCJLHNET6ITALFE4V5X7JWC5ZWUUGPFY3ZBBEG5WG5MZAC

Dependencies

  • [2] ZYBYX2TB Add new pristine subcommand
  • [3] ZTDGWUGP add repository structure
  • [4] FB67XX5E add argument parsing setup
  • [5] 733PFZJ5 prefix header guard names with ANI_
  • [6] LKIBESCN change: adjust function signatures
  • [7] DRK7G22J Add header guard to commands.h

Change contents

  • replacement in commands.h at line 4
    [3.39][3.291:423]()
    int cmd_init(int argc, const char *argv[], struct repository *);
    int cmd_change(int argc, const char *argv[], struct repository *);
    [3.39]
    [2.2471]
    /* TODO impl all commands in a central location */
    int cmd_init(int, const char **, struct repository *);
    int cmd_change(int, const char **, struct repository *);