mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
15 lines
192 B
Python
15 lines
192 B
Python
![]() |
import json
|
||
|
import sys
|
||
|
|
||
|
|
||
|
def main():
|
||
|
argv_file = sys.argv[1]
|
||
|
with open(argv_file, "wt") as fp:
|
||
|
json.dump(sys.argv, fp)
|
||
|
|
||
|
sys.exit(0)
|
||
|
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
main()
|