pi
                                
                                 pi copied to clipboard
                                
                                    pi copied to clipboard
                            
                            
                            
                        Read package list from file
Add a feature to read a file with package names
pi read pkgs.txt
Take care of empty or invalid format (non-textual) files. Take care packages could be delimited by spaces or new line. Take care of UNIX/Windows/MacOS line-endings.
Is this analogous to a package.json in NodeJS or requirements.txt in python?
Is this analogous to a
package.jsonin NodeJS orrequirements.txtin python?
Exactly