~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/review-demo

A sample repository showing a pull with a review and line comments

0
0
main
16 lines · 221 B Raw History
import sys


def count_words(text):
    return len(text.split())


def main():
    path = sys.argv[1]
    with open(path) as f:
        text = f.read()
    print(count_words(text))


if __name__ == "__main__":
    main()