richfromm / slack2discord

A Discord client that imports Slack-exported JSON chat history to Discord channel(s).
GNU General Public License v3.0
8 stars 3 forks source link

implement real arg parsing #7

Closed richfromm closed 2 years ago

richfromm commented 2 years ago

with the stdlib argparse

implement parsing for the full variety of script invocations that will be supported, including:

      (one file):          --src_file SRC_FILE --dest_channel DEST_CHANNEL
      (one channel):       --src_dir SRC_DIR [--dest_channel DEST_CHANNEL]
      (multiple channels): --src_dirtree SRC_DIRTREE [--channel_file CHANNEL_FILE]

even though right now, only the one file case is supported

unsupported cases are parsed, but for now raise NotImplementedError